LegacyChildTestService
extends LegacyTestService
in package
Table of Contents
Properties
- $container : mixed
Methods
- aChildService() : LegacyService3
- aParentService() : Service1
- aService() : Service2
- getSubscribedServices() : array<string|int, mixed>
- nullableInAttribute() : Service2
- nullableReturnType() : Service2|null
- setContainer() : ContainerInterface|null
- withAttribute() : Service2|null
Properties
$container
protected
mixed
$container
Methods
aChildService()
public
aChildService() : LegacyService3
Attributes
Return values
LegacyService3aParentService()
public
aParentService() : Service1
Return values
Service1aService()
public
aService() : Service2
Attributes
Return values
Service2getSubscribedServices()
public
static getSubscribedServices() : array<string|int, mixed>
Return values
array<string|int, mixed>nullableInAttribute()
public
nullableInAttribute() : Service2
Attributes
- #[SubscribedService]
- $nullable: true
Return values
Service2nullableReturnType()
public
nullableReturnType() : Service2|null
Attributes
Return values
Service2|nullsetContainer()
public
setContainer(ContainerInterface $container) : ContainerInterface|null
Parameters
- $container : ContainerInterface
Attributes
- #[Required]
Return values
ContainerInterface|nullwithAttribute()
public
withAttribute() : Service2|null
Attributes
- #[SubscribedService]
- $attributes: new Required()