LEFT
LEFT = 'left'
Base Enum class
$value : mixed
Enum value
$cache : array
Store existing constants in a static cache per object.
$instances : array
Cache of instances of the Enum class
$key : string
Enum key, the constant name
equals(mixed $variable = null) : bool
Determines if Enum should be considered equal with the variable passed as a parameter.
Returns false if an argument is an object of different class or not an object.
This method is final, for more information read https://github.com/myclabs/php-enum/issues/4
mixed | $variable |
<?php
declare(strict_types=1);
/*
* (c) Jeroen van den Enden <info@endroid.nl>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Endroid\QrCode;
use MyCLabs\Enum\Enum;
/**
* @method static LabelAlignment LEFT()
* @method static LabelAlignment CENTER()
* @method static LabelAlignment RIGHT()
*
* @extends Enum<string>
* @psalm-immutable
*/
class LabelAlignment extends Enum
{
const LEFT = 'left';
const CENTER = 'center';
const RIGHT = 'right';
}