PHP Class Scalr\DependencyInjection\Container

Since: 19.10.2012
Author: Vitaliy Demidov ([email protected])
Inheritance: extends Scalr\DependencyInjection\BaseContainer
Show file Open project: scalr/scalr Class Usage Examples

Public Methods

Method Description
getInstance ( ) : Container Gets singleton instance of the Container
reset ( ) Resets singleton object.

Method Details

getInstance() public static method

Gets singleton instance of the Container
public static getInstance ( ) : Container
return Container

reset() public static method

It can be used for phpunit testing purposes.
public static reset ( )