AggregateImmutableValueObject

Implements \Serializable

Class AggregateImmutableValueObject

package

Ascmvc\EventSourcing

Methods

AggregateValue constructor.

__construct(array $properties = null) 

Arguments

$properties

array

Allows for automatic array to string conversion of the object's properties.

__toString() : string

Response

string

Gets the AggregateValue object's properties.

getProperties() : array

Response

array

Hydrates the object's properties to an array.

hydrateToArray() : array

Response

array

Serializes this object.

serialize() : string

Response

string

Unserializes the properties of this object.

unserialize(string $serialized) : \Ascmvc\EventSourcing\AggregateImmutableValueObject|boolean

Arguments

$serialized

string

Response

\Ascmvc\EventSourcing\AggregateImmutableValueObject|boolean

Properties

Contains the AggregateValue object's properties.

properties : array
var

Type(s)

array