Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / Snippet / Printer / SnippetPrinter.php
diff --git a/vendor/behat/behat/src/Behat/Behat/Snippet/Printer/SnippetPrinter.php b/vendor/behat/behat/src/Behat/Behat/Snippet/Printer/SnippetPrinter.php
new file mode 100644 (file)
index 0000000..a0050af
--- /dev/null
@@ -0,0 +1,38 @@
+<?php
+
+/*
+ * This file is part of the Behat.
+ * (c) Konstantin Kudryashov <ever.zet@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Behat\Behat\Snippet\Printer;
+
+use Behat\Behat\Snippet\AggregateSnippet;
+use Behat\Gherkin\Node\StepNode;
+
+/**
+ * Prints all snippets for a target.
+ *
+ * @author Konstantin Kudryashov <ever.zet@gmail.com>
+ */
+interface SnippetPrinter
+{
+    /**
+     * Prints snippets of the specific target.
+     *
+     * @param string             $targetName
+     * @param AggregateSnippet[] $snippets
+     */
+    public function printSnippets($targetName, array $snippets);
+
+    /**
+     * Prints undefined steps of the specific suite.
+     *
+     * @param string     $suiteName
+     * @param StepNode[] $steps
+     */
+    public function printUndefinedSteps($suiteName, array $steps);
+}