class Autowiring

Autowiring.

Methods

__construct(ContainerBuilder $builder)

No description

string|null
getByType(string $type, bool $throw = false)

Resolves service name by type.

array
findByType(string $type)

Gets the service names and definitions of the specified type.

void
addExcludedClasses(array $types)

No description

array
getClassList()

No description

void
rebuild()

No description

Details

at line 34
__construct(ContainerBuilder $builder)

No description

Parameters

ContainerBuilder $builder

at line 45
string|null getByType(string $type, bool $throw = false)

Resolves service name by type.

Parameters

string $type
bool $throw

Return Value

string|null

Exceptions

MissingServiceException
ServiceCreationException

at line 82
array findByType(string $type)

Gets the service names and definitions of the specified type.

Parameters

string $type

Return Value

array

service name is key

at line 99
void addExcludedClasses(array $types)

No description

Parameters

array $types

Return Value

void

at line 110
array getClassList()

No description

Return Value

array

at line 116
void rebuild()

No description

Return Value

void

Traits

SmartObject