src/Behat/Behat/Snippet/SnippetWriter.php
private function appendSnippet(AggregateSnippet $snippet)
    {
        foreach ($this->appenders as $appender) {
            if (!$appender->supportsSnippet($snippet)) {
                continue;
            }

            $appender->appendSnippet($snippet);
        }
    }
private function appendSnippet(AggregateSnippet $snippet)
    {
        foreach ($this->appenders as $appender) {
            if (!$appender->supportsSnippet($snippet)) {
                continue;
            }

            $appender->appendSnippet($snippet);
        }
    }
private function appendSnippet ( AggregateSnippet $ snippet ) { foreach ( $ this -> appenders as $ appender ) { if ( ! $ appender -> supportsSnippet ( $ snippet ) ) { continue ; } $ appender -> appendSnippet ( $ snippet ) ; } }
Appends snippet to appropriate targets.

@param AggregateSnippet $snippet
Appends snippet to appropriate targets .