__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
declare(strict_types=1);
namespace OpenSpout\Common\Entity\Style;
/**
* This class provides constants to work with text alignment.
*/
final class CellAlignment
{
public const LEFT = 'left';
public const RIGHT = 'right';
public const CENTER = 'center';
public const JUSTIFY = 'justify';
private const VALID_ALIGNMENTS = [
self::LEFT => 1,
self::RIGHT => 1,
self::CENTER => 1,
self::JUSTIFY => 1,
];
/**
* @return bool Whether the given cell alignment is valid
*/
public static function isValid(string $cellAlignment): bool
{
return isset(self::VALID_ALIGNMENTS[$cellAlignment]);
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Border.php | File | 1.04 KB | 0777 |
|
| BorderPart.php | File | 2.19 KB | 0777 |
|
| CellAlignment.php | File | 685 B | 0777 |
|
| CellVerticalAlignment.php | File | 931 B | 0777 |
|
| Color.php | File | 2.58 KB | 0777 |
|
| Style.php | File | 10.91 KB | 0777 |
|