Behat\Behat\Transformation\Transformer\RepositoryArgumentTransformer::applyNormalTransformations PHP Method

applyNormalTransformations() private method

Apply normal (non-simple) argument transformations.
private applyNormalTransformations ( array $transformations, Behat\Behat\Definition\Call\DefinitionCall $definitionCall, integer | string $index, mixed $value ) : mixed
$transformations array
$definitionCall Behat\Behat\Definition\Call\DefinitionCall
$index integer | string
$value mixed
return mixed
    private function applyNormalTransformations(array $transformations, DefinitionCall $definitionCall, $index, $value)
    {
        $newValue = $value;
        foreach ($transformations as $transformation) {
            $newValue = $this->transform($definitionCall, $transformation, $index, $newValue);
        }
        return $newValue;
    }