Behat\Testwork\Cli\Application::getCommandName PHP Метод

getCommandName() защищенный Метод

Gets the name of the command based on input.
protected getCommandName ( Symfony\Component\Console\Input\InputInterface $input ) : string
$input Symfony\Component\Console\Input\InputInterface The input interface
Результат string The command name
    protected function getCommandName(InputInterface $input)
    {
        if ($input->hasParameterOption(array('--config-reference'))) {
            return 'dump-reference';
        }
        if ($input->hasParameterOption(array('--debug'))) {
            return 'debug';
        }
        return $this->getName();
    }