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
Datei anzeigen 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_oe property

the entity id
public string $id
return string

$machine public_oe property

the statemachine name
public string $machine
return string

$message public_oe property

public $message

$state public_oe property

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

$timestamp public_oe property

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