Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
DiManager Class Reference

Manage dependency injection. More...

Static Public Member Functions

static init (&$config)
 Initialize dependency injection cache To use in dev only!
 
static fetch ($controller)
 

Static Protected Member Functions

static store ($controller, $injections)
 
static getControllerCacheKey ($classname)
 

Static Protected Attributes

static $key = "controllers/di/"
 

Detailed Description

Manage dependency injection.

Ubiquity\controllers\di$DiManager This class is part of Ubiquity

Author
jcheron myadd.nosp@m.ress.nosp@m.mail@.nosp@m.gmai.nosp@m.l.com
Version
1.0.1
Since
Ubiquity 2.1.0

Definition at line 17 of file DiManager.php.

Member Function Documentation

◆ fetch()

static fetch (   $controller)
static

Definition at line 43 of file DiManager.php.

◆ getControllerCacheKey()

static getControllerCacheKey (   $classname)
staticprotected

Definition at line 51 of file DiManager.php.

◆ init()

static init ( $config)
static

Initialize dependency injection cache To use in dev only!

Parameters
array$config

Definition at line 26 of file DiManager.php.

◆ store()

static store (   $controller,
  $injections 
)
staticprotected

Definition at line 39 of file DiManager.php.

Field Documentation

◆ $key

$key = "controllers/di/"
staticprotected

Definition at line 18 of file DiManager.php.


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