Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Testwork / Hook / Scope / HookScope.php
1 <?php
2
3 /*
4  * This file is part of the Behat.
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\Scope;
12
13 use Behat\Testwork\Environment\Environment;
14 use Behat\Testwork\Hook\HookDispatcher;
15 use Behat\Testwork\Hook\HookRepository;
16 use Behat\Testwork\Suite\Suite;
17
18 /**
19  * Represents an object used to find appropriate hooks.
20  *
21  * @see HookDispatcher
22  * @see HookRepository
23  *
24  * @author Konstantin Kudryashov <ever.zet@gmail.com>
25  */
26 interface HookScope
27 {
28     /**
29      * Returns hook scope name.
30      *
31      * @return string
32      */
33     public function getName();
34
35     /**
36      * Returns hook suite.
37      *
38      * @return Suite
39      */
40     public function getSuite();
41
42     /**
43      * Returns hook environment.
44      *
45      * @return Environment
46      */
47     public function getEnvironment();
48 }