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;
13 use Behat\Testwork\Call\Callee;
14 use Behat\Testwork\Suite\Suite;
17 * Represents static calls environment.
19 * @author Konstantin Kudryashov <ever.zet@gmail.com>
21 class StaticEnvironment implements Environment
29 * Initializes environment.
33 public function __construct(Suite $suite)
35 $this->suite = $suite;
41 final public function getSuite()
49 final public function bindCallee(Callee $callee)
51 return $callee->getCallable();