- Full name:
\App\Shared\ValueObject\ArrayLiteral - This class implements:
ValueObject
Properties
value
Methods
__construct
Parameters:
| Parameter | Type | Description |
|---|---|---|
$data |
array |
fromNative
Returns an array object.
- This method is static.
toNative
Returns the value of the array.
equals
Tells whether two arrays are equal by comparing their values.
Parameters:
| Parameter | Type | Description |
|---|---|---|
$object |
\App\Shared\ValueObject\ArrayLiteral|\Qubus\ValueObjects\ValueObject |
isEmpty
Tells whether the array is empty.
__toString
Returns the array value itself.
Throws: