public function run($task = null) { $this->start([!empty($task) ? $task : 'default']); $this->getLoop()->run(); }