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;
}