the JSON string is stored at the redis key 'configuration' by default.
you can alter the configuration key by using Redis::setPrefix() and Redis::setConfigurationKey()
First, the key ':configuration:' is checked for existence.
If it exists, take the configuration from that key, else take the configuration form
the ':configuration' key.
This method can be overriden in a subclass to use another loader when
the data is stored in redis in YAML or XML form for example.
You could use the ReaderWriterDelegator to use another source to load the configuration from.
public load ( |
||
$statemachine |