[ Index ]

PHP Cross Reference of phpBB-3.3.9-deutsch




/vendor/symfony/dependency-injection/Compiler/ -> AutowirePass.php (summary)

(no description)

File Size: 580 lines (22 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

AutowirePass:: (17 methods):

Class: AutowirePass  - X-Ref

Inspects existing service definitions and wires the autowired ones using the type hints of their classes.

__construct($throwOnAutowireException = true)   X-Ref

param: bool $throwOnAutowireException Errors can be retrieved via Definition::getErrors()

getAutowiringExceptions()   X-Ref

return: AutowiringFailedException[]

process(ContainerBuilder $container)   X-Ref

createResourceForClass(\ReflectionClass $reflectionClass)   X-Ref
Creates a resource to help know if this service has changed.

return: AutowireServiceResource

processValue($value, $isRoot = false)   X-Ref

doProcessValue($value, $isRoot = false)   X-Ref
No description

autowireCalls(\ReflectionClass $reflectionClass, array $methodCalls)   X-Ref

return: array

autowireMethod(\ReflectionFunctionAbstract $reflectionMethod, array $arguments)   X-Ref
Autowires the constructor or a method.

return: array The autowired arguments

getAutowiredReference(TypedReference $reference, $deprecationMessage)   X-Ref

return: TypedReference|null A reference to the service matching the given type, if any

populateAvailableTypes($onlyAutowiringTypes = false)   X-Ref
Populates the list of available types.

populateAvailableType($id, Definition $definition, $onlyAutowiringTypes)   X-Ref
Populates the list of available types for a given definition.

param: string $id

set($type, $id)   X-Ref
Associates a type and a service id if applicable.

param: string $type
param: string $id

createAutowiredDefinition($type)   X-Ref
Registers a definition for the type if possible or throws an exception.

param: string $type
return: TypedReference|null A reference to the registered definition

createTypeNotFoundMessage(TypedReference $reference, $label)   X-Ref
No description

createTypeAlternatives(TypedReference $reference)   X-Ref
No description

getResourceMetadataForMethod(\ReflectionMethod $method)   X-Ref

getAliasesSuggestionForType($type, $extraContext = null)   X-Ref
No description

Generated: Wed Dec 7 15:09:22 2022 Cross-referenced by PHPXref 0.7.1