Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / Hook / Scope / ScenarioScope.php
diff --git a/vendor/behat/behat/src/Behat/Behat/Hook/Scope/ScenarioScope.php b/vendor/behat/behat/src/Behat/Behat/Hook/Scope/ScenarioScope.php
new file mode 100644 (file)
index 0000000..c5238bc
--- /dev/null
@@ -0,0 +1,40 @@
+<?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\Behat\Hook\Scope;
+
+use Behat\Gherkin\Node\FeatureNode;
+use Behat\Gherkin\Node\ScenarioInterface as Scenario;
+use Behat\Testwork\Hook\Scope\HookScope;
+
+/**
+ * Represents a scenario hook scope.
+ *
+ * @author Konstantin Kudryashov <ever.zet@gmail.com>
+ */
+interface ScenarioScope extends HookScope
+{
+    const BEFORE = 'scenario.before';
+    const AFTER = 'scenario.after';
+
+    /**
+     * Returns scope feature.
+     *
+     * @return FeatureNode
+     */
+    public function getFeature();
+
+    /**
+     * Returns scenario.
+     *
+     * @return Scenario
+     */
+    public function getScenario();
+}