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