Method | Description | |
---|---|---|
__construct ( Behat\Behat\Transformation\TransformationRepository $repository, |
Initializes transformer. | |
generateRegex ( $suiteName, $pattern, $language ) | ||
supportsDefinitionAndArgument ( Behat\Behat\Definition\Call\DefinitionCall $definitionCall, $argumentIndex, $argumentValue ) | ||
transformArgument ( Behat\Behat\Definition\Call\DefinitionCall $definitionCall, $argumentIndex, $argumentValue ) |
Method | Description | |
---|---|---|
applyNormalTransformations ( array $transformations, Behat\Behat\Definition\Call\DefinitionCall $definitionCall, integer | string $index, mixed $value ) : mixed | Apply normal (non-simple) argument transformations. | |
applySimpleTransformations ( array $transformations, Behat\Behat\Definition\Call\DefinitionCall $definitionCall, integer | string $index, mixed $value ) : mixed | Apply simple argument transformations in priority order. | |
splitSimpleAndNormalTransformations ( array $transformations ) : array | Splits transformations into simple and normal ones. | |
transform ( Behat\Behat\Definition\Call\DefinitionCall $definitionCall, Behat\Behat\Transformation\Transformation $transformation, integer | string $index, mixed $value ) : mixed | Transforms argument value using registered transformers. |
public __construct ( Behat\Behat\Transformation\TransformationRepository $repository, |
||
$repository | Behat\Behat\Transformation\TransformationRepository | |
$callCenter | ||
$patternTransformer | Behat\Behat\Definition\Pattern\PatternTransformer | |
$translator | Symfony\Component\Translation\TranslatorInterface |
public supportsDefinitionAndArgument ( Behat\Behat\Definition\Call\DefinitionCall $definitionCall, $argumentIndex, $argumentValue ) | ||
$definitionCall | Behat\Behat\Definition\Call\DefinitionCall |
public transformArgument ( Behat\Behat\Definition\Call\DefinitionCall $definitionCall, $argumentIndex, $argumentValue ) | ||
$definitionCall | Behat\Behat\Definition\Call\DefinitionCall |