public static clearResolvedInstances ( ) : void | ||
return | void |
public static function clearResolvedInstances()
{
static::$resolvedInstance = array();
}
protected function setUp() { $this->container = new Container(); ModuleFacade::clearResolvedInstances(); ModuleFacade::setContainer($this->container); $module = new \Altax\Module\Server\ServerModule($this->container); $this->container->addModule(Server::getModuleName(), $module); }