RegistryService
class RegistryService extends BaseService
Store and retrieve arbitrary data. With the registry service you don't need to encode/decode your data. It's smart enough to know what you've provided and handle it appropriately.
$o = new \stdClass;
$o->foo = 'bar';
$svs->set('test', $o);
...
$svs->get('test')->bar;
Properties
protected | $stack |
Methods
set(string $key, mixed $value)
Set a registry value, override if it exists.
get($key)
No description
Details
at line 29
RegistryService
set(string $key, mixed $value)
Set a registry value, override if it exists.