izzum\statemachine\persistence\Adapter::processGetState PHP Method

processGetState() abstract public method

Implement this method for specifying how you want to get a state from a storage facility. this method is public to be able to call it via the ReaderWriterDelegator
abstract public processGetState ( Identifier $identifier ) : string
$identifier izzum\statemachine\Identifier
return string the current state of the entity represented in the context
    public abstract function processGetState(Identifier $identifier);

Usage Example

 public function processGetState(Identifier $identifier)
 {
     return $this->writer->processGetState($identifier);
 }