src/Behat/Behat/Output/Node/Printer/Pretty/PrettyPathPrinter.php
private function printDefinedStepPath(OutputPrinter $printer, DefinedStepResult $result, $scenarioWidth, $stepWidth)
    {
        $path = $result->getStepDefinition()->getPath();
        $spacing = str_repeat(' ', max(0, $scenarioWidth - $stepWidth));

        $printer->writeln(sprintf('%s {+comment}# %s{-comment}', $spacing, $path));
    }
private function printDefinedStepPath(OutputPrinter $printer, DefinedStepResult $result, $scenarioWidth, $stepWidth)
    {
        $path = $result->getStepDefinition()->getPath();
        $spacing = str_repeat(' ', max(0, $scenarioWidth - $stepWidth));

        $printer->writeln(sprintf('%s {+comment}# %s{-comment}', $spacing, $path));
    }
private function printDefinedStepPath ( OutputPrinter $ printer , DefinedStepResult $ result , $ scenarioWidth , $ stepWidth ) { $ path = $ result -> getStepDefinition ( ) -> getPath ( ) ; $ spacing = str_repeat ( ' ' , max ( 0 , $ scenarioWidth - $ stepWidth ) ) ; $ printer -> writeln ( sprintf ( '%s {+comment}# %s{-comment}' , $ spacing , $ path ) ) ; }
Prints defined step path.

@param OutputPrinter     $printer
@param DefinedStepResult $result
@param integer           $scenarioWidth
@param integer           $stepWidth
Prints defined step path .