Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / Hook / Scope / ScenarioScope.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\Hook\Scope;
12
13 use Behat\Gherkin\Node\FeatureNode;
14 use Behat\Gherkin\Node\ScenarioInterface as Scenario;
15 use Behat\Testwork\Hook\Scope\HookScope;
16
17 /**
18  * Represents a scenario hook scope.
19  *
20  * @author Konstantin Kudryashov <ever.zet@gmail.com>
21  */
22 interface ScenarioScope extends HookScope
23 {
24     const BEFORE = 'scenario.before';
25     const AFTER = 'scenario.after';
26
27     /**
28      * Returns scope feature.
29      *
30      * @return FeatureNode
31      */
32     public function getFeature();
33
34     /**
35      * Returns scenario.
36      *
37      * @return Scenario
38      */
39     public function getScenario();
40 }