Пример #1
0
 /**
  * @static
  * @return \Ustream_Daemon_CallbackTask
  */
 public static function createTask()
 {
     return new \Ustream_Daemon_CallbackTask(function () {
         \Ustream_Daemon_Logger::getInstance()->info('common-entry-point');
     });
 }
Пример #2
0
 /**
  * @static
  * @return Ustream_Daemon_CallbackTask
  */
 public static function nullTask()
 {
     return new Ustream_Daemon_CallbackTask(function () {
         Ustream_Daemon_Logger::getInstance()->debug('null');
     });
 }