final class FactoryDefinition extends Definition

Definition of standard service.

Constants

private METHOD_CREATE

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 63
string|null getImplement()

No description

Return Value

string|null

at line 69
final string|null getResultType()

No description

Return Value

string|null

at line 76
FactoryDefinition setResultDefinition(Definition $definition)

No description

Parameters

Definition $definition

Return Value

FactoryDefinition

at line 84
Definition getResultDefinition()

No description

Return Value

Definition

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

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

No description

Parameters

$factory
array $args

Return Value

FactoryDefinition

at line 103
Statement|null getFactory() deprecated

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

No description

Return Value

Statement|null

at line 114
mixed getEntity() deprecated

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

No description

Return Value

mixed

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

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

No description

Parameters

array $args

Return Value

FactoryDefinition

at line 137
FactoryDefinition setSetup(array $setup) deprecated

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

No description

Parameters

array $setup

Return Value

FactoryDefinition

at line 146
array getSetup() deprecated

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

No description

Return Value

array

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

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

No description

Parameters

$entity
array $args

Return Value

FactoryDefinition

at line 166
FactoryDefinition setParameters(array $params)

No description

Parameters

array $params

Return Value

FactoryDefinition

at line 173
array getParameters()

No description

Return Value

array

at line 179
void resolveType(Resolver $resolver)

No description

Parameters

Resolver $resolver

Return Value

void

at line 209
void complete(Resolver $resolver)

No description

Parameters

Resolver $resolver

Return Value

void

at line 283
void convertArguments(array $args)

No description

Parameters

array $args

Return Value

void

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

No description

Parameters

Method $method
PhpGenerator $generator

Return Value

void

at line 322
__clone()

No description