Enum
- Full name:
\Qubus\ValueObjects\Enum\Enum - Parent class:
Enum - This class implements:
\Qubus\ValueObjects\ValueObject,\Serializable - This class is an Abstract class
Methods
fromNative
Returns a new Enum object from passed value matching argument
- This method is static.
toNative
Returns the PHP native value of the enum
equals
Tells whether two Enum objects are sameValueAs by comparing their values
Parameters:
| Parameter | Type | Description |
|---|---|---|
$enum | \Qubus\ValueObjects\Enum\Enum|\Qubus\ValueObjects\ValueObject |
__toString
Returns a native string representation of the Enum value
jsonSerialize
Automatically generated on 2025-10-13