Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Testwork / Hook / FilterableHook.php
1 <?php
2
3 /*
4  * This file is part of the Behat Testwork.
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\Testwork\Hook;
12
13 use Behat\Testwork\Hook\Scope\HookScope;
14
15 /**
16  * Represents hook that is filterable by the provided scope.
17  *
18  * @author Konstantin Kudryashov <ever.zet@gmail.com>
19  */
20 interface FilterableHook extends Hook
21 {
22     /**
23      * Checks that current hook matches provided hook scope.
24      *
25      * @param HookScope $scope
26      *
27      * @return Boolean
28      */
29     public function filterMatches(HookScope $scope);
30 }