X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fbehat%2Fgherkin%2Fsrc%2FBehat%2FGherkin%2FFilter%2FFeatureFilterInterface.php;fp=vendor%2Fbehat%2Fgherkin%2Fsrc%2FBehat%2FGherkin%2FFilter%2FFeatureFilterInterface.php;h=a7c43eccb55b5fc51af8df93d1030878afc7828d;hp=0000000000000000000000000000000000000000;hb=1270d9129ce8f27c9b28b10518e32132c58e0aca;hpb=c27c0f0cdaa3f354b1fe54a56ae7e854be6e3f68 diff --git a/vendor/behat/gherkin/src/Behat/Gherkin/Filter/FeatureFilterInterface.php b/vendor/behat/gherkin/src/Behat/Gherkin/Filter/FeatureFilterInterface.php new file mode 100644 index 000000000..a7c43eccb --- /dev/null +++ b/vendor/behat/gherkin/src/Behat/Gherkin/Filter/FeatureFilterInterface.php @@ -0,0 +1,39 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Behat\Gherkin\Filter; + +use Behat\Gherkin\Node\FeatureNode; + +/** + * Feature filter interface. + * + * @author Konstantin Kudryashov + */ +interface FeatureFilterInterface +{ + /** + * Checks if Feature matches specified filter. + * + * @param FeatureNode $feature Feature instance + * + * @return Boolean + */ + public function isFeatureMatch(FeatureNode $feature); + + /** + * Filters feature according to the filter and returns new one. + * + * @param FeatureNode $feature + * + * @return FeatureNode + */ + public function filterFeature(FeatureNode $feature); +}