The document, originally loaded as a json string (see JSON::getJSONSchema)
is stored at the mongodb collection 'configuration' by default.
multiple machine definitions can be provided in a single document, or in multiple documents in the collection.
The first document containing the 'machines.name' key with the value matching
the name of the $statemachine is used.
You could use the ReaderWriterDelegator to use another source to load the configuration from.
public load ( |
||
$statemachine |