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\Transformation\Call;
13 use Behat\Behat\Definition\Definition;
14 use Behat\Behat\Transformation\Transformation;
15 use Behat\Testwork\Environment\Call\EnvironmentCall;
16 use Behat\Testwork\Environment\Environment;
19 * Call extended with transformation information.
21 * @author Konstantin Kudryashov <ever.zet@gmail.com>
23 final class TransformationCall extends EnvironmentCall
33 * @param Environment $environment
34 * @param Definition $definition
35 * @param Transformation $transformation
36 * @param array $arguments
38 public function __construct(
39 Environment $environment,
40 Definition $definition,
41 Transformation $transformation,
44 parent::__construct($environment, $transformation, $arguments);
46 $this->definition = $definition;
50 * Returns transformed definition.
54 public function getDefinition()
56 return $this->definition;