Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / Context / Argument / ArgumentResolver.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\Argument;
12
13 use Behat\Behat\Context\Environment\Handler\ContextEnvironmentHandler;
14 use ReflectionClass;
15
16 /**
17  * Resolves arguments of context constructors.
18  *
19  * @see ContextEnvironmentHandler
20  *
21  * @author Konstantin Kudryashov <ever.zet@gmail.com>
22  */
23 interface ArgumentResolver
24 {
25     /**
26      * Resolves context constructor arguments.
27      *
28      * @param ReflectionClass $classReflection
29      * @param mixed[]         $arguments
30      *
31      * @return mixed[]
32      */
33     public function resolveArguments(ReflectionClass $classReflection, array $arguments);
34 }