Security update for permissions_by_term
[yaffs-website] / vendor / behat / gherkin / src / Behat / Gherkin / Filter / ComplexFilterInterface.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 use Behat\Gherkin\Node\ScenarioInterface;
15
16 /**
17  * Filter interface.
18  *
19  * @author Konstantin Kudryashov <ever.zet@gmail.com>
20  */
21 interface ComplexFilterInterface extends FeatureFilterInterface
22 {
23     /**
24      * Checks if scenario or outline matches specified filter.
25      *
26      * @param FeatureNode       $feature  Feature node instance
27      * @param ScenarioInterface $scenario Scenario or Outline node instance
28      *
29      * @return Boolean
30      */
31     public function isScenarioMatch(FeatureNode $feature, ScenarioInterface $scenario);
32 }