Altax\Foundation\ModuleFacade::clearResolvedInstances PHP 메소드

clearResolvedInstances() 공개 정적인 메소드

Clear all of the resolved instances.
public static clearResolvedInstances ( ) : void
리턴 void
    public static function clearResolvedInstances()
    {
        static::$resolvedInstance = array();
    }

Usage Example

예제 #1
0
 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);
 }
All Usage Examples Of Altax\Foundation\ModuleFacade::clearResolvedInstances