ServiceDefinition
final class ServiceDefinition extends Definition
Definition of standard service.
Methods
__construct()
No description
string
getDescriptor()
No description
setType(string|null $type)
No description
setFactory(Statement $factory, array $args = [])
Alias for setCreator()
getFactory()
Alias for getCreator()
setCreator(Statement $creator, array $args = [])
No description
getCreator()
No description
Reference|null
getEntity()
No description
setArguments(array $args = [])
No description
setArgument($key, $value)
No description
setSetup(array $setup)
No description
array
getSetup()
No description
addSetup(Statement $entity, array $args = [])
No description
void
void
__clone()
No description
Details
at line 31
__construct()
No description
at line 37
string
getDescriptor()
No description
at line 48
Definition
setType(string|null $type)
No description
at line 57
ServiceDefinition
setFactory(Statement $factory, array $args = [])
Alias for setCreator()
at line 66
Statement
getFactory()
Alias for getCreator()
at line 72
ServiceDefinition
setCreator(Statement $creator, array $args = [])
No description
at line 81
Statement
getCreator()
No description
at line 87
Reference|null
getEntity()
No description
at line 93
ServiceDefinition
setArguments(array $args = [])
No description
at line 100
ServiceDefinition
setArgument($key, $value)
No description
at line 110
ServiceDefinition
setSetup(array $setup)
No description
at line 124
array
getSetup()
No description
at line 130
ServiceDefinition
addSetup(Statement $entity, array $args = [])
No description
at line 139
void
resolveType(Resolver $resolver)
No description
at line 165
void
complete(Resolver $resolver)
No description
at line 188
void
generateMethod(Method $method, PhpGenerator $generator)
No description
at line 207
__clone()
No description