4 * This file is part of the Behat Testwork.
5 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
11 namespace Behat\Testwork\Output;
13 use Behat\Testwork\Output\Printer\OutputPrinter;
14 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
17 * Represents Testwork output formatter.
21 * @author Konstantin Kudryashov <ever.zet@gmail.com>
23 interface Formatter extends EventSubscriberInterface
26 * Returns formatter name.
30 public function getName();
33 * Returns formatter description.
37 public function getDescription();
40 * Returns formatter output printer.
42 * @return OutputPrinter
44 public function getOutputPrinter();
47 * Sets formatter parameter.
52 public function setParameter($name, $value);
55 * Returns parameter name.
61 public function getParameter($name);