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 33
__construct()
No description
at line 39
string
getDescriptor()
No description
at line 50
Definition
setType(string|null $type)
No description
at line 59
ServiceDefinition
setFactory(Statement $factory, array $args = [])
Alias for setCreator()
at line 68
Statement
getFactory()
Alias for getCreator()
at line 74
ServiceDefinition
setCreator(Statement $creator, array $args = [])
No description
at line 83
Statement
getCreator()
No description
at line 89
Reference|null
getEntity()
No description
at line 95
ServiceDefinition
setArguments(array $args = [])
No description
at line 102
ServiceDefinition
setArgument($key, $value)
No description
at line 112
ServiceDefinition
setSetup(array $setup)
No description
at line 127
array
getSetup()
No description
at line 133
ServiceDefinition
addSetup(Statement $entity, array $args = [])
No description
at line 143
void
resolveType(Resolver $resolver)
No description
at line 169
void
complete(Resolver $resolver)
No description
at line 193
void
generateMethod(Method $method, PhpGenerator $generator)
No description
at line 211
__clone()
No description
Traits
SmartObject