Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / Output / Node / Printer / ExamplePrinter.php
diff --git a/vendor/behat/behat/src/Behat/Behat/Output/Node/Printer/ExamplePrinter.php b/vendor/behat/behat/src/Behat/Behat/Output/Node/Printer/ExamplePrinter.php
new file mode 100644 (file)
index 0000000..048f547
--- /dev/null
@@ -0,0 +1,41 @@
+<?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\Output\Node\Printer;
+
+use Behat\Gherkin\Node\ExampleNode;
+use Behat\Gherkin\Node\FeatureNode;
+use Behat\Testwork\Output\Formatter;
+use Behat\Testwork\Tester\Result\TestResult;
+
+/**
+ * Prints example headers and footers.
+ *
+ * @author Konstantin Kudryashov <ever.zet@gmail.com>
+ */
+interface ExamplePrinter
+{
+    /**
+     * Prints example header using provided printer.
+     *
+     * @param Formatter   $formatter
+     * @param FeatureNode $feature
+     * @param ExampleNode $example
+     */
+    public function printHeader(Formatter $formatter, FeatureNode $feature, ExampleNode $example);
+
+    /**
+     * Prints example footer using provided printer.
+     *
+     * @param Formatter  $formatter
+     * @param TestResult $result
+     */
+    public function printFooter(Formatter $formatter, TestResult $result);
+}