Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / Output / Node / Printer / StepPrinter.php
diff --git a/vendor/behat/behat/src/Behat/Behat/Output/Node/Printer/StepPrinter.php b/vendor/behat/behat/src/Behat/Behat/Output/Node/Printer/StepPrinter.php
new file mode 100644 (file)
index 0000000..7b03c4b
--- /dev/null
@@ -0,0 +1,34 @@
+<?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\Behat\Tester\Result\StepResult;
+use Behat\Gherkin\Node\ScenarioLikeInterface as Scenario;
+use Behat\Gherkin\Node\StepNode;
+use Behat\Testwork\Output\Formatter;
+
+/**
+ * Prints step with optional results.
+ *
+ * @author Konstantin Kudryashov <ever.zet@gmail.com>
+ */
+interface StepPrinter
+{
+    /**
+     * Prints step using provided printer.
+     *
+     * @param Formatter  $formatter
+     * @param Scenario   $scenario
+     * @param StepNode   $step
+     * @param StepResult $result
+     */
+    public function printStep(Formatter $formatter, Scenario $scenario, StepNode $step, StepResult $result);
+}