コード例 #1
0
ファイル: Loader.php プロジェクト: genonbeta/GFramework
 protected function onDestroy()
 {
     System::getService("DestructionHook")->load();
 }
コード例 #2
0
ファイル: Intent.php プロジェクト: genonbeta/GFramework
 public static function sendServiceIntent($serviceName, Intent $intent)
 {
     if (!System::serviceExists($serviceName)) {
         return null;
     }
     return System::getService($serviceName)->send($intent);
 }
コード例 #3
0
ファイル: Debugger.php プロジェクト: genonbeta/GFramework
 function onLoad()
 {
     System::getService("DestructionHook")->put($this);
 }
コード例 #4
0
ファイル: TypeHinting.php プロジェクト: genonbeta/GFramework
 function __construct()
 {
     if (version_compare(PHP_VERSION, "7.0.0", "<")) {
         System::getService("ErrorHandler")->putHandlerController($this);
     }
 }
コード例 #5
0
 protected function onLoad()
 {
     $this->findPars();
     System::getService("AutoLoader")->putAutoLoader($this);
 }