protected function getCommandName(InputInterface $input) { if ($input->hasParameterOption(array('--config-reference'))) { return 'dump-reference'; } if ($input->hasParameterOption(array('--debug'))) { return 'debug'; } return $this->getName(); }