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