src/Behat/Behat/Transformation/Call/Filter/DefinitionArgumentsTransformer.php
private function transformArgument(DefinitionCall $definitionCall, $index, $value)
    {
        foreach ($this->argumentTransformers as $transformer) {
            if (!$transformer->supportsDefinitionAndArgument($definitionCall, $index, $value)) {
                continue;
            }

            return $transformer->transformArgument($definitionCall, $index, $value);
        }

        return $value;
    }
private function transformArgument(DefinitionCall $definitionCall, $index, $value)
    {
        foreach ($this->argumentTransformers as $transformer) {
            if (!$transformer->supportsDefinitionAndArgument($definitionCall, $index, $value)) {
                continue;
            }

            return $transformer->transformArgument($definitionCall, $index, $value);
        }

        return $value;
    }
private function transformArgument ( DefinitionCall $ definitionCall , $ index , $ value ) { foreach ( $ this -> argumentTransformers as $ transformer ) { if ( ! $ transformer -> supportsDefinitionAndArgument ( $ definitionCall , $ index , $ value ) ) { continue ; } return $ transformer -> transformArgument ( $ definitionCall , $ index , $ value ) ; } return $ value ; }
Transforms call argument using registered transformers.

@param DefinitionCall $definitionCall
@param integer|string $index
@param mixed          $value

@return mixed
Transforms call argument using registered transformers .