ServicesTrait
Table of Contents
Properties
- $container : ContainerInterface|null
Methods
- setContainer() : void
- getService() : T
Properties
$container
protected
ContainerInterface|null
$container
= null
Methods
setContainer()
public
setContainer(ContainerInterface $container) : void
Parameters
- $container : ContainerInterface
getService()
protected
getService(T> $id) : T
Parameters
- $id : T>
-
Classname or identifier of the service you want to retrieve