PHP Class Metabor\Statemachine\Command

Author: Oliver Tischlinger
Inheritance: implements SplObserve\SplObserver
Show file Open project: metabor/statemachine

Public Methods

Method Description
__toString ( ) : string Overwrite this to change the name for the Command that is displayed in the graph.
update ( SplSubject $subject )

Method Details

__toString() public method

Overwrite this to change the name for the Command that is displayed in the graph.
public __toString ( ) : string
return string

update() public method

public update ( SplSubject $subject )
$subject SplSubject