PHP Class izzum\statemachine\loader\XML
The xml string can contain one or more machine definitions.
The correct machine will be found from the xml structure.
This class also provides a way to load xml from a file.
The format of the data to be loaded is specified via an xml schema definition. see getXSD
Show file
Open project: rolfvreijdenberger/izzum-statemachine
Class Usage Examples
Public Methods
Method Details
__construct()
public method
__toString()
public method
createFromFile()
public static method
creates an instance of this class with the data loaded from a file.
public static createFromFile ( string $filename ) : XML |
$filename |
string |
|
return |
XML |
an instance of XML with the data from the file |
gets the xsd used for the datastructure of the statemachine definitions
public load ( StateMachine $stateMachine ) |
$stateMachine |
izzum\statemachine\StateMachine |
|