Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / Context / Reader / ContextReader.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\Behat\Context\Reader;
12
13 use Behat\Behat\Context\Environment\ContextEnvironment;
14 use Behat\Testwork\Call\Callee;
15
16 /**
17  * Reads callees from a context class.
18  *
19  * @author Konstantin Kudryashov <ever.zet@gmail.com>
20  */
21 interface ContextReader
22 {
23     /**
24      * Reads callees from specific environment & context.
25      *
26      * @param ContextEnvironment $environment
27      * @param string             $contextClass
28      *
29      * @return Callee[]
30      */
31     public function readContextCallees(ContextEnvironment $environment, $contextClass);
32 }