public function run() { $this->addConsoleCommands(); $this->getConsole()->add(new WorkerCommand($this)); $this->getConsole()->add($this['init_command']); $this->getConsole()->run($this->input, $this->output); }