Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Testwork / Output / Node / EventListener / EventListener.php
diff --git a/vendor/behat/behat/src/Behat/Testwork/Output/Node/EventListener/EventListener.php b/vendor/behat/behat/src/Behat/Testwork/Output/Node/EventListener/EventListener.php
new file mode 100644 (file)
index 0000000..6fbc078
--- /dev/null
@@ -0,0 +1,31 @@
+<?php
+
+/*
+ * This file is part of the Behat.
+ * (c) Konstantin Kudryashov <ever.zet@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Behat\Testwork\Output\Node\EventListener;
+
+use Behat\Testwork\Output\Formatter;
+use Symfony\Component\EventDispatcher\Event;
+
+/**
+ * Used to define formatter event listeners.
+ *
+ * @author Konstantin Kudryashov <ever.zet@gmail.com>
+ */
+interface EventListener
+{
+    /**
+     * Notifies listener about an event.
+     *
+     * @param Formatter $formatter
+     * @param Event     $event
+     * @param string    $eventName
+     */
+    public function listenEvent(Formatter $formatter, Event $event, $eventName);
+}