Security update for permissions_by_term
[yaffs-website] / vendor / behat / gherkin / src / Behat / Gherkin / Filter / FeatureFilterInterface.php
1 <?php
2
3 /*
4  * This file is part of the Behat Gherkin.
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\Gherkin\Filter;
12
13 use Behat\Gherkin\Node\FeatureNode;
14
15 /**
16  * Feature filter interface.
17  *
18  * @author Konstantin Kudryashov <ever.zet@gmail.com>
19  */
20 interface FeatureFilterInterface
21 {
22     /**
23      * Checks if Feature matches specified filter.
24      *
25      * @param FeatureNode $feature Feature instance
26      *
27      * @return Boolean
28      */
29     public function isFeatureMatch(FeatureNode $feature);
30
31     /**
32      * Filters feature according to the filter and returns new one.
33      *
34      * @param FeatureNode $feature
35      *
36      * @return FeatureNode
37      */
38     public function filterFeature(FeatureNode $feature);
39 }