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 30
__construct(ContainerBuilder $builder)

No description

Parameters

ContainerBuilder $builder

at line 42
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 79
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 96
void addExcludedClasses(array $types)

No description

Parameters

array $types

Return Value

void

at line 107
array getClassList()

No description

Return Value

array

at line 113
void rebuild()

No description

Return Value

void