ServiceSubscriberTrait
Implementation of ServiceSubscriberInterface that determines subscribed services from method return types. Service ids are available as "ClassName::methodName".
Tags
Table of Contents
- $container : ContainerInterface
- getSubscribedServices() : array<string|int, mixed>
- {@inheritdoc}
- setContainer() : ContainerInterface|null
Properties
$container
protected
ContainerInterface
$container
Methods
getSubscribedServices()
{@inheritdoc}
public
static getSubscribedServices() : array<string|int, mixed>
Return values
array<string|int, mixed> —setContainer()
public
setContainer(ContainerInterface $container) : ContainerInterface|null
Parameters
- $container : ContainerInterface