4 * This file is part of the Behat Testwork.
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\Testwork\Environment\Reader;
13 use Behat\Testwork\Call\Callee;
14 use Behat\Testwork\Environment\Environment;
15 use Behat\Testwork\Environment\EnvironmentManager;
18 * Reads callees from a provided environment.
20 * @see EnvironmentManager
22 * @author Konstantin Kudryashov <ever.zet@gmail.com>
24 interface EnvironmentReader
27 * Checks if reader supports an environment.
29 * @param Environment $environment
33 public function supportsEnvironment(Environment $environment);
36 * Reads callees from an environment.
38 * @param Environment $environment
42 public function readEnvironmentCallees(Environment $environment);