PHP Класс 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
Показать файл
Открыть проект
Примеры использования класса
Открытые методы
Описание методов
__construct()
публичный метод
__toString()
публичный метод
createFromFile()
публичный статический метод
creates an instance of this class with the data loaded from a file.
public static createFromFile ( string $filename ) : XML |
$filename |
string |
|
Результат |
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 |
|
toString()
публичный метод