Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / Output / Node / Printer / OutlinePrinter.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\Gherkin\Node\OutlineNode;
15 use Behat\Testwork\Output\Formatter;
16 use Behat\Testwork\Tester\Result\TestResult;
17
18 /**
19  * Prints outline headers and footers.
20  *
21  * @author Konstantin Kudryashov <ever.zet@gmail.com>
22  */
23 interface OutlinePrinter
24 {
25     /**
26      * Prints outline header using provided printer.
27      *
28      * @param Formatter   $formatter
29      * @param FeatureNode $feature
30      * @param OutlineNode $outline
31      */
32     public function printHeader(Formatter $formatter, FeatureNode $feature, OutlineNode $outline);
33
34     /**
35      * Prints outline footer using provided printer.
36      *
37      * @param Formatter  $formatter
38      * @param TestResult $result
39      */
40     public function printFooter(Formatter $formatter, TestResult $result);
41 }