public function populateCommandParams() { if (!$this->command) { throw new ConsoleException("Missing command to populate command params!"); } $params = $this->parseArguments(); $this->command->setParams($params); }