ServiceDefinition
final class ServiceDefinition extends Definition
Definition of standard service.
Properties
string|null | $class | ||
Statement | $factory | ||
Statement[] | $setup |
Methods
__construct()
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
Definition
setType(string|null $type)
No description
at line 48
ServiceDefinition
setFactory(Statement $factory, array $args = [])
Alias for setCreator()
at line 57
Statement
getFactory()
Alias for getCreator()
at line 63
ServiceDefinition
setCreator(Statement $creator, array $args = [])
No description
at line 72
Statement
getCreator()
No description
at line 78
Reference|null
getEntity()
No description
at line 84
ServiceDefinition
setArguments(array $args = [])
No description
at line 91
ServiceDefinition
setArgument($key, $value)
No description
at line 101
ServiceDefinition
setSetup(array $setup)
No description
at line 116
array
getSetup()
No description
at line 122
ServiceDefinition
addSetup(Statement $entity, array $args = [])
No description
at line 132
void
resolveType(Resolver $resolver)
No description
at line 158
void
complete(Resolver $resolver)
No description
at line 182
void
generateMethod(Method $method, PhpGenerator $generator)
No description
at line 200
__clone()
No description
Traits
SmartObject