/** * Remove all timers. * @return void */ public static function delAll() { self::$_tasks = array(); pcntl_alarm(0); if (self::$_event) { self::$_event->clearAllTimer(); } }