Stud.IP  6.0
DIContainer Class Reference

Static Public Member Functions

static getInstance ()
 
static setInstance (ContainerInterface $container=null)
 
static getCompilationPath ()
 
static getCompilationClass ()
 

Static Protected Member Functions

static createBuilder ()
 

Static Protected Attributes

static $instance
 

Member Function Documentation

◆ createBuilder()

static createBuilder ( )
staticprotected

Set up the ContainerBuilder.

◆ getCompilationClass()

static getCompilationClass ( )
static

◆ getCompilationPath()

static getCompilationPath ( )
static

◆ getInstance()

static getInstance ( )
static

Get the globally available instance of the container.

Returns
ContainerInterface

◆ setInstance()

static setInstance ( ContainerInterface  $container = null)
static

Set the instance of the container.

Parameters
\Psr\Container\ContainerInterface | null$container
Returns
|static

Field Documentation

◆ $instance

$instance
staticprotected

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