LegacyTestService
extends ParentTestService
in package
implements
ServiceSubscriberInterface
Uses
ServiceSubscriberTrait
Interfaces, Classes and Traits
- ServiceSubscriberInterface
- A ServiceSubscriber exposes its dependencies via the static {@link getSubscribedServices} method.
Table of Contents
- $container : ContainerInterface
- aParentService() : Service1
- aService() : Service2
- getSubscribedServices() : array<string|int, mixed>
- {@inheritdoc}
- setContainer() : mixed
Properties
$container
protected
ContainerInterface
$container
Methods
aParentService()
public
aParentService() : Service1
Return values
Service1 —aService()
public
aService() : Service2
Return values
Service2 —getSubscribedServices()
{@inheritdoc}
public
static getSubscribedServices() : array<string|int, mixed>
Return values
array<string|int, mixed> —setContainer()
public
setContainer(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface