Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / Output / Node / Printer / FeaturePrinter.php
1 <?php
2
3 /*
4  * This file is part of the Behat.
5  * (c) Konstantin Kudryashov <ever.zet@gmail.com>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10
11 namespace Behat\Behat\Output\Node\Printer;
12
13 use Behat\Gherkin\Node\FeatureNode;
14 use Behat\Testwork\Output\Formatter;
15 use Behat\Testwork\Tester\Result\TestResult;
16
17 /**
18  * Prints feature headers and footers.
19  *
20  * @author Konstantin Kudryashov <ever.zet@gmail.com>
21  */
22 interface FeaturePrinter
23 {
24     /**
25      * Prints feature header using provided formatter.
26      *
27      * @param Formatter   $formatter
28      * @param FeatureNode $feature
29      */
30     public function printHeader(Formatter $formatter, FeatureNode $feature);
31
32     /**
33      * Prints feature footer using provided printer.
34      *
35      * @param Formatter  $formatter
36      * @param TestResult $result
37      */
38     public function printFooter(Formatter $formatter, TestResult $result);
39 }