PHP Class izzum\statemachine\persistence\StorageData

It does not have to be used by subclasses of Adapter, but it is used for both the Session and Memory adapter classes.
Author: Rolf Vreijdenberger
Show file Open project: rolfvreijdenberger/izzum-statemachine

Public Properties

Property Type Description
$id string the entity id
$machine string the statemachine name
$message
$state string the state the transition was made to (the current state)
$timestamp integer the timestamp when the storagedata was created, ideally at storage time.

Public Methods

Method Description
__construct ( Identifier $identifier, string $state, $message = null )

Method Details

__construct() public method

public __construct ( Identifier $identifier, string $state, $message = null )
$identifier izzum\statemachine\Identifier
$state string

Property Details

$id public property

the entity id
public string $id
return string

$machine public property

the statemachine name
public string $machine
return string

$message public property

public $message

$state public property

the state the transition was made to (the current state)
public string $state
return string

$timestamp public property

the timestamp when the storagedata was created, ideally at storage time.
public int $timestamp
return integer