protected function onDestroy() { System::getService("DestructionHook")->load(); }
public static function sendServiceIntent($serviceName, Intent $intent) { if (!System::serviceExists($serviceName)) { return null; } return System::getService($serviceName)->send($intent); }
function onLoad() { System::getService("DestructionHook")->put($this); }
function __construct() { if (version_compare(PHP_VERSION, "7.0.0", "<")) { System::getService("ErrorHandler")->putHandlerController($this); } }
protected function onLoad() { $this->findPars(); System::getService("AutoLoader")->putAutoLoader($this); }