[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

AutowirePass:: (7 methods):
  process()
  completeDefinition()
  populateAvailableTypes()
  populateAvailableType()
  set()
  createAutowiredDefinition()
  getReflectionClass()


Class: AutowirePass  - X-Ref

Guesses constructor arguments of services definitions and try to instantiate services if necessary.

process(ContainerBuilder $container)   X-Ref
{@inheritdoc}


completeDefinition($id, Definition $definition)   X-Ref
Wires the given definition.

param: string     $id
param: Definition $definition

populateAvailableTypes()   X-Ref
Populates the list of available types.


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

param: string     $id
param: Definition $definition

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

param: string $type
param: string $id

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

param: \ReflectionClass $typeHint
param: string           $id
return: Reference A reference to the registered definition

getReflectionClass($id, Definition $definition)   X-Ref
Retrieves the reflection class associated with the given service.

param: string     $id
param: Definition $definition
return: \ReflectionClass|false



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1