public static function runWorker() { Daemon::$runworkerMode = true; $thread = new Thread\Worker(); $thread(); }
/** * Runworker. * @return void */ public static function runworker() { Daemon::log('PLEASE USE runworker COMMAND ONLY FOR DEBUGGING PURPOSES.'); Daemon::init(); Daemon::runWorker(); }