src/Behat/Behat/Definition/Cli/AvailableDefinitionsController.php
private function getDefinitionPrinter($argument)
    {
        if ('l' === $argument) {
            return $this->listPrinter;
        }

        if ('i' !== $argument) {
            $this->infoPrinter->setSearchCriterion($argument);
        }

        return $this->infoPrinter;
    }
private function getDefinitionPrinter($argument)
    {
        if ('l' === $argument) {
            return $this->listPrinter;
        }

        if ('i' !== $argument) {
            $this->infoPrinter->setSearchCriterion($argument);
        }

        return $this->infoPrinter;
    }
private function getDefinitionPrinter ( $ argument ) { if ( 'l' === $ argument ) { return $ this -> listPrinter ; } if ( 'i' !== $ argument ) { $ this -> infoPrinter -> setSearchCriterion ( $ argument ) ; } return $ this -> infoPrinter ; }
Returns definition printer for provided option argument.

@param string $argument

@return DefinitionPrinter
Returns definition printer for provided option argument .