Elgg  Version master
Public Member Functions | Static Public Member Functions | List of all members
Elgg\Di\DiContainer Class Reference

Base DI Container class. More...

Inheritance diagram for Elgg\Di\DiContainer:
Elgg\Di\InternalContainer Elgg\Di\PublicContainer

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...
 

Detailed Description

Base DI Container class.

Definition at line 13 of file DiContainer.php.

Member Function Documentation

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 Elgg\Di\DiContainer::factory ( )
static

Create a DI Container.

Returns
self

Definition at line 91 of file DiContainer.php.

static Elgg\Di\DiContainer::getDefinitionSources ( )
staticabstract

Returns an array of file locations.

Returns
string[]
Elgg\Di\DiContainer::reset ( string  $name)

Unsets the service to force rebuild on next request.

Parameters
string$namethe name of the service to reset
Returns
void

Definition at line 72 of file DiContainer.php.

Elgg\Di\DiContainer::set ( string  $name,
mixed  $value 
)

{}

Definition at line 55 of file DiContainer.php.


The documentation for this class was generated from the following file: