abstract class Definition

Definition used by ContainerBuilder.

Methods

setName(string $name)

No description

string|null
getName()

No description

setType(string|null $type)

No description

string|null
getType()

No description

setTags(array $tags)

No description

array
getTags()

No description

addTag(string $tag, mixed $attr = true)

No description

mixed
getTag(string $tag)

No description

setAutowired(bool|string|array $state = true)

No description

bool|array
getAutowired()

No description

setExported(bool $state = true)

No description

bool
isExported()

No description

__clone()

No description

void
resolveType(Resolver $resolver)

No description

void
complete(Resolver $resolver)

No description

void
generateMethod(Method $method, PhpGenerator $generator)

No description

void
setNotifier(Closure|null $notifier)

No description

setClass(string|null $type) deprecated

No description

string|null
getClass() deprecated

No description

isAutowired() deprecated

No description

Details

at line 32
final Definition setName(string $name)

internal  This is managed by ContainerBuilder and should not be called by user
 

No description

Parameters

string $name

Return Value

Definition

at line 43
final string|null getName()

No description

Return Value

string|null

at line 49
protected Definition setType(string|null $type)

No description

Parameters

string|null $type

Return Value

Definition

at line 71
final string|null getType()

No description

Return Value

string|null

at line 77
final Definition setTags(array $tags)

No description

Parameters

array $tags

Return Value

Definition

at line 84
final array getTags()

No description

Return Value

array

at line 90
final Definition addTag(string $tag, mixed $attr = true)

No description

Parameters

string $tag
mixed $attr

Return Value

Definition

at line 97
final mixed getTag(string $tag)

No description

Parameters

string $tag

Return Value

mixed

at line 103
final Definition setAutowired(bool|string|array $state = true)

No description

Parameters

bool|string|array $state

Return Value

Definition

at line 117
final bool|array getAutowired()

No description

Return Value

bool|array

at line 123
Definition setExported(bool $state = true)

No description

Parameters

bool $state

Return Value

Definition

at line 129
bool isExported()

No description

Return Value

bool

at line 135
__clone()

No description

at line 144
abstract void resolveType(Resolver $resolver)

No description

Parameters

Resolver $resolver

Return Value

void

at line 147
abstract void complete(Resolver $resolver)

No description

Parameters

Resolver $resolver

Return Value

void

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

No description

Parameters

Method $method
PhpGenerator $generator

Return Value

void

at line 153
final void setNotifier(Closure|null $notifier)

No description

Parameters

Closure|null $notifier

Return Value

void

at line 163
setClass(string|null $type) deprecated

deprecated Use setType()

No description

Parameters

string|null $type

at line 170
string|null getClass() deprecated

deprecated Use getType()

No description

Return Value

string|null

at line 177
isAutowired() deprecated

deprecated Use getAutowired()

No description