PHP Класс 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.
Автор: Rolf Vreijdenberger
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
__construct ( Identifier $identifier, string $state, $message = null )

Описание методов

__construct() публичный Метод

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

Описание свойств

$id публичное свойство

the entity id
public string $id
Результат string

$machine публичное свойство

the statemachine name
public string $machine
Результат string

$message публичное свойство

public $message

$state публичное свойство

the state the transition was made to (the current state)
public string $state
Результат string

$timestamp публичное свойство

the timestamp when the storagedata was created, ideally at storage time.
public int $timestamp
Результат integer