TestServiceSubscriberUnion
in package
Uses
ServiceSubscriberTrait
Table of Contents
- $container : ContainerInterface
- getSubscribedServices() : array<string|int, mixed>
- {@inheritdoc}
- setContainer() : ContainerInterface|null
- method1() : Service1
- method2() : Service1|Service2
- method3() : Service1|Service2|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
Tags
Return values
ContainerInterface|null —method1()
private
method1() : Service1
Return values
Service1 —method2()
private
method2() : Service1|Service2
Return values
Service1|Service2 —method3()
private
method3() : Service1|Service2|null