src/Behat/Behat/Output/Node/Printer/Pretty/PrettyFeaturePrinter.php
private function printTitle(OutputPrinter $printer, FeatureNode $feature)
    {
        $printer->write(sprintf('%s{+keyword}%s:{-keyword}', $this->indentText, $feature->getKeyword()));

        if ($title = $feature->getTitle()) {
            $printer->write(sprintf(' %s', $title));
        }

        $printer->writeln();
    }
private function printTitle(OutputPrinter $printer, FeatureNode $feature)
    {
        $printer->write(sprintf('%s{+keyword}%s:{-keyword}', $this->indentText, $feature->getKeyword()));

        if ($title = $feature->getTitle()) {
            $printer->write(sprintf(' %s', $title));
        }

        $printer->writeln();
    }
private function printTitle ( OutputPrinter $ printer , FeatureNode $ feature ) { $ printer -> write ( sprintf ( '%s{+keyword}%s:{-keyword}' , $ this -> indentText , $ feature -> getKeyword ( ) ) ) ; if ( $ title = $ feature -> getTitle ( ) ) { $ printer -> write ( sprintf ( ' %s' , $ title ) ) ; } $ printer -> writeln ( ) ; }
Prints feature title using provided printer.

@param OutputPrinter $printer
@param FeatureNode   $feature
Prints feature title using provided printer .