|
Elgg
Version 6.3
|
Base DI Container class. More...
Public Member Functions | |
| __get ($name) | |
| {} More... | |
| __set ($name, $value) | |
| {} More... | |
| set (string $name, mixed $value) | |
| {} More... | |
| reset (string $name) | |
| Unsets the service to force rebuild on next request. More... | |
Static Public Member Functions | |
| static | factory () |
| Create a DI Container. More... | |
| static | getDefinitionSources () |
| Returns an array of file locations. More... | |
Base DI Container class.
Definition at line 13 of file DiContainer.php.
| Elgg\Di\DiContainer::__get | ( | $name | ) |
{}
Definition at line 18 of file DiContainer.php.
| Elgg\Di\DiContainer::__set | ( | $name, | |
| $value | |||
| ) |
{}
Definition at line 47 of file DiContainer.php.
|
static |
|
staticabstract |
Returns an array of file locations.
Reimplemented in Elgg\Di\PublicContainer, and Elgg\Di\InternalContainer.
| Elgg\Di\DiContainer::reset | ( | string | $name | ) |
Unsets the service to force rebuild on next request.
| string | $name | the name of the service to reset |
Definition at line 72 of file DiContainer.php.
| Elgg\Di\DiContainer::set | ( | string | $name, |
| mixed | $value | ||
| ) |
{}
Definition at line 55 of file DiContainer.php.