Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Testwork / Environment / Environment.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\Environment;
12
13 use Behat\Testwork\Call\Callee;
14 use Behat\Testwork\Suite\Suite;
15
16 /**
17  * Represents Testwork test environment.
18  *
19  * @author Konstantin Kudryashov <ever.zet@gmail.com>
20  */
21 interface Environment
22 {
23     /**
24      * Returns environment suite.
25      *
26      * @return Suite
27      */
28     public function getSuite();
29
30     /**
31      * Creates callable using provided Callee.
32      *
33      * @param Callee $callee
34      *
35      * @return callable
36      */
37     public function bindCallee(Callee $callee);
38 }