src/Behat/Behat/Snippet/Printer/ConsoleSnippetPrinter.php
public function printSnippets($targetName, array $snippets)
    {
        $message = $this->translator->trans('snippet_proposal_title', array('%1%' => $targetName), 'output');

        $this->output->writeln('--- ' . $message . PHP_EOL);

        foreach ($snippets as $snippet) {
            $this->output->writeln(sprintf('<snippet_undefined>%s</snippet_undefined>', $snippet->getSnippet()) . PHP_EOL);
        }
    }
public function printSnippets($targetName, array $snippets)
    {
        $message = $this->translator->trans('snippet_proposal_title', array('%1%' => $targetName), 'output');

        $this->output->writeln('--- ' . $message . PHP_EOL);

        foreach ($snippets as $snippet) {
            $this->output->writeln(sprintf('<snippet_undefined>%s</snippet_undefined>', $snippet->getSnippet()) . PHP_EOL);
        }
    }
public function printSnippets ( $ targetName , array $ snippets ) { $ message = $ this -> translator -> trans ( 'snippet_proposal_title' , array ( '%1%' => $ targetName ) , 'output' ) ; $ this -> output -> writeln ( '--- ' . $ message . PHP_EOL ) ; foreach ( $ snippets as $ snippet ) { $ this -> output -> writeln ( sprintf ( '<snippet_undefined>%s</snippet_undefined>' , $ snippet -> getSnippet ( ) ) . PHP_EOL ) ; } }
Prints snippets of specific target.

@param string             $targetName
@param AggregateSnippet[] $snippets
Prints snippets of specific target .