izzum\statemachine\persistence\StorageData::__construct PHP Method

__construct() public method

public __construct ( Identifier $identifier, string $state, $message = null )
$identifier izzum\statemachine\Identifier
$state string
    public function __construct(Identifier $identifier, $state, $message = null)
    {
        $this->id = $identifier->getEntityId();
        $this->machine = $identifier->getMachine();
        $this->state = $state;
        $this->timestamp = time();
        $this->message = $message;
    }
StorageData