ServiceSubscriberTrait
Implementation of ServiceSubscriberInterface that determines subscribed services from private method return types. Service ids are available as "ClassName::methodName".
Tags
Table of Contents
- $container : ContainerInterface
- getSubscribedServices() : array<string|int, mixed>
- {@inheritdoc}
- setContainer() : mixed
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) : mixed
Parameters
- $container : ContainerInterface