Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Testwork / Output / Node / EventListener / EventListener.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\Testwork\Output\Node\EventListener;
12
13 use Behat\Testwork\Output\Formatter;
14 use Symfony\Component\EventDispatcher\Event;
15
16 /**
17  * Used to define formatter event listeners.
18  *
19  * @author Konstantin Kudryashov <ever.zet@gmail.com>
20  */
21 interface EventListener
22 {
23     /**
24      * Notifies listener about an event.
25      *
26      * @param Formatter $formatter
27      * @param Event     $event
28      * @param string    $eventName
29      */
30     public function listenEvent(Formatter $formatter, Event $event, $eventName);
31 }