4 * This file is part of the Behat Gherkin.
5 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
11 namespace Behat\Gherkin\Filter;
13 use Behat\Gherkin\Node\FeatureNode;
16 * Feature filter interface.
18 * @author Konstantin Kudryashov <ever.zet@gmail.com>
20 interface FeatureFilterInterface
23 * Checks if Feature matches specified filter.
25 * @param FeatureNode $feature Feature instance
29 public function isFeatureMatch(FeatureNode $feature);
32 * Filters feature according to the filter and returns new one.
34 * @param FeatureNode $feature
38 public function filterFeature(FeatureNode $feature);