ServiceDefinition
final class ServiceDefinition extends Definition
Definition of standard service.
Properties
string|null | $class | ||
Statement | $factory | ||
Statement[] | $setup |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
at line 32
__construct()
No description
at line 39
setClass(string|null $type)
deprecated
deprecated
No description
at line 54
Definition
setType(string|null $type)
No description
at line 64
ServiceDefinition
setFactory(string|array|Definition|Reference|Statement $factory, array $args = [])
No description
at line 70
Statement
getFactory()
No description
at line 80
ServiceDefinition
setCreator(string|array|Definition|Reference|Statement $factory, array $args = [])
No description
at line 89
Statement
getCreator()
No description
at line 96
string|array|Definition|Reference|null
getEntity()
No description
at line 103
ServiceDefinition
setArguments(array $args = [])
No description
at line 111
ServiceDefinition
setArgument($key, $value)
No description
at line 122
ServiceDefinition
setSetup(array $setup)
No description
at line 136
array
getSetup()
No description
at line 146
ServiceDefinition
addSetup(string|array|Definition|Reference|Statement $entity, array $args = [])
No description
at line 156
setParameters(array $params)
deprecated
deprecated
No description
at line 163
array
getParameters()
deprecated
deprecated
No description
at line 171
void
setDynamic()
deprecated
deprecated
No description
at line 178
void
setImplement()
deprecated
deprecated
No description
at line 185
setInject(bool $state = true)
deprecated
deprecated
No description
at line 192
void
resolveType(Resolver $resolver)
No description
at line 218
void
complete(Resolver $resolver)
No description
at line 241
void
generateMethod(Method $method, PhpGenerator $generator)
No description
at line 260
__clone()
No description