|
| __construct (Config $config) |
| Constructor. More...
|
|
| initConfig (Config $config, ServiceProvider $sp) |
| Validate, normalize, fill in missing values, and lock some. More...
|
|
| __get ($name) |
| Fetch a value. More...
|
|
| setValue ($name, $value) |
| Set a value to be returned without modification. More...
|
|
| reset ($name) |
| Remove previously built service, so that it's rebuld from factory on next call. More...
|
|
| setFactory ($name, $callable, $shared=true) |
| Set a factory to generate a value when the container is read. More...
|
|
| setClassName ($name, $class_name, $shared=true) |
| Set a factory based on instantiating a class with no arguments. More...
|
|
| remove ($name) |
| Remove a value from the container. More...
|
|
| has ($name) |
| Does the container have this value. More...
|
|
| getNames () |
| Get names for all values/factories. More...
|
|
Definition at line 133 of file ServiceProvider.php.
Elgg\Di\ServiceProvider::__construct |
( |
Config |
$config | ) |
|
Validate, normalize, fill in missing values, and lock some.
- Parameters
-
- Returns
- void
- Exceptions
-
Definition at line 742 of file ServiceProvider.php.
Elgg\Di\ServiceProvider::initSiteSecret |
( |
Config |
$config | ) |
|
|
protected |
Extract the site secret from config or set up its factory.
- Parameters
-
- Returns
- void
Definition at line 719 of file ServiceProvider.php.
The documentation for this class was generated from the following file: