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

No description

Parameters

ContainerBuilder $builder

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

Resolves service name by type.

Parameters

string $type
bool $throw

exception if service not found?

Return Value

string|null

Exceptions

MissingServiceException
ServiceCreationException

at line 85
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 102
void addExcludedClasses(array $types)

No description

Parameters

array $types

Return Value

void

at line 113
array getClassList()

No description

Return Value

array

at line 119
void rebuild()

No description

Return Value

void

Traits

SmartObject