4 * This file is part of the Behat.
5 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
11 namespace Behat\Behat\Context\Argument;
13 use Behat\Behat\Context\Environment\Handler\ContextEnvironmentHandler;
17 * Resolves arguments of context constructors.
19 * @see ContextEnvironmentHandler
21 * @author Konstantin Kudryashov <ever.zet@gmail.com>
23 interface ArgumentResolver
26 * Resolves context constructor arguments.
28 * @param ReflectionClass $classReflection
29 * @param mixed[] $arguments
33 public function resolveArguments(ReflectionClass $classReflection, array $arguments);