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
resolveType(Resolver $resolver)

No description

void
complete(Resolver $resolver)

No description

void
generateMethod(Method $method, PhpGenerator $generator)

No description

__clone()

No description

Details

at line 31
__construct()

No description

at line 37
string getDescriptor()

No description

Return Value

string

at line 48
Definition setType(string|null $type)

No description

Parameters

string|null $type

Return Value

Definition

at line 57
ServiceDefinition setFactory(Statement $factory, array $args = [])

Alias for setCreator()

Parameters

Statement $factory
array $args

Return Value

ServiceDefinition

at line 66
Statement getFactory()

Alias for getCreator()

Return Value

Statement

at line 72
ServiceDefinition setCreator(Statement $creator, array $args = [])

No description

Parameters

Statement $creator
array $args

Return Value

ServiceDefinition

at line 81
Statement getCreator()

No description

Return Value

Statement

at line 87
Reference|null getEntity()

No description

Return Value

Reference|null

at line 93
ServiceDefinition setArguments(array $args = [])

No description

Parameters

array $args

Return Value

ServiceDefinition

at line 100
ServiceDefinition setArgument($key, $value)

No description

Parameters

$key
$value

Return Value

ServiceDefinition

at line 110
ServiceDefinition setSetup(array $setup)

No description

Parameters

array $setup

Return Value

ServiceDefinition

at line 124
array getSetup()

No description

Return Value

array

at line 130
ServiceDefinition addSetup(Statement $entity, array $args = [])

No description

Parameters

Statement $entity
array $args

Return Value

ServiceDefinition

at line 139
void resolveType(Resolver $resolver)

No description

Parameters

Resolver $resolver

Return Value

void

at line 165
void complete(Resolver $resolver)

No description

Parameters

Resolver $resolver

Return Value

void

at line 188
void generateMethod(Method $method, PhpGenerator $generator)

No description

Parameters

Method $method
PhpGenerator $generator

Return Value

void

at line 207
__clone()

No description