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
Details
at line 32
__construct()
No description
at line 39
setClass(string|null $type)
deprecated
deprecated Use setType()
No description
at line 53
Definition
setType(string|null $type)
No description
at line 63
ServiceDefinition
setFactory(string|array|Definition|Reference|Statement $factory, array $args = [])
No description
at line 72
Statement
getFactory()
No description
at line 79
string|array|Definition|Reference|null
getEntity()
No description
at line 86
ServiceDefinition
setArguments(array $args = [])
No description
at line 94
ServiceDefinition
setArgument($key, $value)
No description
at line 105
ServiceDefinition
setSetup(array $setup)
No description
at line 118
array
getSetup()
No description
at line 128
ServiceDefinition
addSetup(string|array|Definition|Reference|Statement $entity, array $args = [])
No description
at line 138
setParameters(array $params)
deprecated
deprecated
No description
at line 145
array
getParameters()
deprecated
deprecated
No description
at line 153
void
setDynamic()
deprecated
deprecated use $builder->addImportedDefinition(...)
No description
at line 160
void
setImplement()
deprecated
deprecated use $builder->addFactoryDefinition(...) or addAccessorDefinition(...)
No description
at line 167
setInject(bool $state = true)
deprecated
deprecated use addTag('nette.inject')
No description
at line 174
void
resolveType(Resolver $resolver)
No description
at line 198
void
complete(Resolver $resolver)
No description
at line 220
void
generateMethod(Method $method, PhpGenerator $generator)
No description
at line 239
__clone()
No description