|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Collaboration diagram for ILIAS\BackgroundTasks\Dependencies\Injector:Public Member Functions | |
| __construct (Container $dic, DependencyMap $dependencyMap) | |
| Factory constructor. More... | |
| createInstance (string $fullyQualifiedClassName, bool $requireFile=false, callable $with=null) | |
Protected Member Functions | |
| createConstructorArguments (string $fullyQualifiedClassName, array $parameters, ?callable $with) | |
| getDependency (string $fullyQualifiedClassName, ReflectionParameter $parameter, ?callable $with=null) | |
Protected Attributes | |
| ILIAS DI Container | $dic |
| ILIAS BackgroundTasks Dependencies DependencyMap DependencyMap | $dependencyMap |
Definition at line 32 of file Injector.php.
| ILIAS\BackgroundTasks\Dependencies\Injector::__construct | ( | Container | $dic, |
| DependencyMap | $dependencyMap | ||
| ) |
Factory constructor.
| $dic | Container |
Definition at line 41 of file Injector.php.
References ILIAS\BackgroundTasks\Dependencies\Injector\$dependencyMap, and ILIAS\BackgroundTasks\Dependencies\Injector\$dic.
|
protected |
| ReflectionParameter[] | $parameters |
Definition at line 76 of file Injector.php.
References ILIAS\BackgroundTasks\Dependencies\Injector\getDependency().
Referenced by ILIAS\BackgroundTasks\Dependencies\Injector\createInstance().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\BackgroundTasks\Dependencies\Injector::createInstance | ( | string | $fullyQualifiedClassName, |
| bool | $requireFile = false, |
||
| callable | $with = null |
||
| ) |
| string | $fullyQualifiedClassName | The given class must type hint all its constructor arguments. Furthermore the types must exist in the DI-Container. |
Definition at line 52 of file Injector.php.
References ILIAS\BackgroundTasks\Dependencies\Injector\createConstructorArguments().
Here is the call graph for this function:
|
protected |
| InvalidClassException |
Definition at line 94 of file Injector.php.
Referenced by ILIAS\BackgroundTasks\Dependencies\Injector\createConstructorArguments().
Here is the caller graph for this function:
|
protected |
Definition at line 35 of file Injector.php.
Referenced by ILIAS\BackgroundTasks\Dependencies\Injector\__construct().
Definition at line 34 of file Injector.php.
Referenced by ILIAS\BackgroundTasks\Dependencies\Injector\__construct().