final class FactoryDefinition extends Definition

Definition of standard service.

Constants

private MethodCreate

Properties

array $parameters

Methods

__construct()

No description

setImplement(string $interface)

No description

string|null
getImplement()

No description

string|null
getResultType()

No description

setResultDefinition(Definition $definition)

No description

getResultDefinition()

No description

setFactory($factory, array $args = []) deprecated

No description

Statement|null
getFactory() deprecated

No description

mixed
getEntity() deprecated

No description

setArguments(array $args = []) deprecated

No description

setSetup(array $setup) deprecated

No description

array
getSetup() deprecated

No description

addSetup($entity, array $args = []) deprecated

No description

setParameters(array $params)

No description

array
getParameters()

No description

void
resolveType(Resolver $resolver)

No description

void
complete(Resolver $resolver)

No description

void
convertArguments(array $args)

No description

void
generateMethod(Method $method, PhpGenerator $generator)

No description

__clone()

No description

Details

at line 34
__construct()

No description

at line 41
FactoryDefinition setImplement(string $interface)

No description

Parameters

string $interface

Return Value

FactoryDefinition

at line 65
string|null getImplement()

No description

Return Value

string|null

at line 71
final string|null getResultType()

No description

Return Value

string|null

at line 78
FactoryDefinition setResultDefinition(Definition $definition)

No description

Parameters

Definition $definition

Return Value

FactoryDefinition

at line 86
Definition getResultDefinition()

No description

Return Value

Definition

at line 96
FactoryDefinition setFactory($factory, array $args = []) deprecated

deprecated use ->getResultDefinition()->setFactory()

No description

Parameters

$factory
array $args

Return Value

FactoryDefinition

at line 105
Statement|null getFactory() deprecated

deprecated use ->getResultDefinition()->getFactory()

No description

Return Value

Statement|null

at line 116
mixed getEntity() deprecated

deprecated use ->getResultDefinition()->getEntity()

No description

Return Value

mixed

at line 127
FactoryDefinition setArguments(array $args = []) deprecated

deprecated use ->getResultDefinition()->setArguments()

No description

Parameters

array $args

Return Value

FactoryDefinition

at line 139
FactoryDefinition setSetup(array $setup) deprecated

deprecated use ->getResultDefinition()->setSetup()

No description

Parameters

array $setup

Return Value

FactoryDefinition

at line 148
array getSetup() deprecated

deprecated use ->getResultDefinition()->getSetup()

No description

Return Value

array

at line 159
FactoryDefinition addSetup($entity, array $args = []) deprecated

deprecated use ->getResultDefinition()->addSetup()

No description

Parameters

$entity
array $args

Return Value

FactoryDefinition

at line 168
FactoryDefinition setParameters(array $params)

No description

Parameters

array $params

Return Value

FactoryDefinition

at line 175
array getParameters()

No description

Return Value

array

at line 181
void resolveType(Resolver $resolver)

No description

Parameters

Resolver $resolver

Return Value

void

at line 213
void complete(Resolver $resolver)

No description

Parameters

Resolver $resolver

Return Value

void

at line 289
void convertArguments(array $args)

No description

Parameters

array $args

Return Value

void

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

No description

Parameters

Method $method
PhpGenerator $generator

Return Value

void

at line 328
__clone()

No description