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 47
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 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 98
void addExcludedClasses(array $types)

No description

Parameters

array $types

Return Value

void

at line 109
array getClassList()

No description

Return Value

array

at line 115
void rebuild()

No description

Return Value

void

Traits

Strict class for better experience.