58b8ef986560af9a1d336baff828da18cc49b4d8
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / Output / Node / Printer / SuitePrinter.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\Testwork\Output\Formatter;
14 use Behat\Testwork\Suite\Suite;
15
16 /**
17  * Prints suite headers and footers.
18  *
19  * @author Wouter J <wouter@wouterj.nl>
20  */
21 interface SuitePrinter
22 {
23     /**
24      * Prints suite header using provided formatter.
25      *
26      * @param Formatter $formatter
27      * @param Suite     $suite
28      */
29     public function printHeader(Formatter $formatter, Suite $suite);
30
31     /**
32      * Prints suite footer using provided printer.
33      *
34      * @param Formatter $formatter
35      * @param Suite     $suite
36      */
37     public function printFooter(Formatter $formatter, Suite $suite);
38 }