Behat\Behat\Transformation\Transformer\RepositoryArgumentTransformer::transformArgument PHP Метод

transformArgument() публичный Метод

public transformArgument ( Behat\Behat\Definition\Call\DefinitionCall $definitionCall, $argumentIndex, $argumentValue )
$definitionCall Behat\Behat\Definition\Call\DefinitionCall
    public function transformArgument(DefinitionCall $definitionCall, $argumentIndex, $argumentValue)
    {
        $environment = $definitionCall->getEnvironment();
        list($simpleTransformations, $normalTransformations) = $this->splitSimpleAndNormalTransformations($this->repository->getEnvironmentTransformations($environment));
        $newValue = $this->applySimpleTransformations($simpleTransformations, $definitionCall, $argumentIndex, $argumentValue);
        $newValue = $this->applyNormalTransformations($normalTransformations, $definitionCall, $argumentIndex, $newValue);
        return $newValue;
    }