$container
$container : \Pimple\Container
Container.
Trait PrefixedContainer.
$container : \Pimple\Container
Container.
__construct(\Pimple\Container $container)
ContainerAccess constructor.
\Pimple\Container | $container |
__get(string $key) : mixed
Gets a parameter or an object from pimple container.
Get the class basename
of the current class.
Convert class basename
to snake-case and concatenation with dot notation.
E.g. Class 'EasyWechat', $key foo -> 'easy_wechat.foo'
string | $key | The unique identifier for the parameter or object |
If the identifier is not defined
The value of the parameter or an object