fe87469dedc4b2ef8440c2fcd265fa4849473f31
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / Hook / Scope / FeatureScope.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\Testwork\Hook\Scope\HookScope;
15
16 /**
17  * Represents a feature hook scope.
18  *
19  * @author Konstantin Kudryashov <ever.zet@gmail.com>
20  */
21 interface FeatureScope extends HookScope
22 {
23     const BEFORE = 'feature.before';
24     const AFTER = 'feature.after';
25
26     /**
27      * Returns scope feature.
28      *
29      * @return FeatureNode
30      */
31     public function getFeature();
32 }