Example #1
0
 /**
  * @return Facade
  */
 protected static function getFacadeRoot()
 {
     static $instance = null;
     if (!$instance) {
         $instance = Container::GetInstance(Static::getFacadeAccessor());
     }
     return $instance;
 }
Example #2
0
 /**
  * @return FacadeService
  */
 protected static function getFacadeRoot()
 {
     return Container::Instance()->GetInstance(Static::getFacadeAccessor());
 }