src/Behat/Behat/Output/Node/Printer/Pretty/PrettyFeaturePrinter.php
private function printDescription(OutputPrinter $printer, FeatureNode $feature)
    {
        if (!$feature->getDescription()) {
            $printer->writeln();

            return;
        }

        foreach (explode("\n", $feature->getDescription()) as $descriptionLine) {
            $printer->writeln(sprintf('%s%s', $this->subIndentText, $descriptionLine));
        }

        $printer->writeln();
    }
private function printDescription(OutputPrinter $printer, FeatureNode $feature)
    {
        if (!$feature->getDescription()) {
            $printer->writeln();

            return;
        }

        foreach (explode("\n", $feature->getDescription()) as $descriptionLine) {
            $printer->writeln(sprintf('%s%s', $this->subIndentText, $descriptionLine));
        }

        $printer->writeln();
    }
private function printDescription ( OutputPrinter $ printer , FeatureNode $ feature ) { if ( ! $ feature -> getDescription ( ) ) { $ printer -> writeln ( ) ; return ; } foreach ( explode ( "\n" , $ feature -> getDescription ( ) ) as $ descriptionLine ) { $ printer -> writeln ( sprintf ( '%s%s' , $ this -> subIndentText , $ descriptionLine ) ) ; } $ printer -> writeln ( ) ; }
Prints feature description using provided printer.

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