src/Behat/Behat/Transformation/Transformation/PatternTransformation.php
public function supportsDefinitionAndArgument(
        RegexGenerator $regexGenerator,
        DefinitionCall $definitionCall,
        $argumentValue
    ) {
        $regex = $regexGenerator->generateRegex(
            $definitionCall->getEnvironment()->getSuite()->getName(),
            $this->pattern,
            $definitionCall->getFeature()->getLanguage()
        );

        return $this->match($regex, $argumentValue, $match);
    }
public function supportsDefinitionAndArgument(
        RegexGenerator $regexGenerator,
        DefinitionCall $definitionCall,
        $argumentValue
    ) {
        $regex = $regexGenerator->generateRegex(
            $definitionCall->getEnvironment()->getSuite()->getName(),
            $this->pattern,
            $definitionCall->getFeature()->getLanguage()
        );

        return $this->match($regex, $argumentValue, $match);
    }
public function supportsDefinitionAndArgument ( RegexGenerator $ regexGenerator , DefinitionCall $ definitionCall , $ argumentValue ) { $ regex = $ regexGenerator -> generateRegex ( $ definitionCall -> getEnvironment ( ) -> getSuite ( ) -> getName ( ) , $ this -> pattern , $ definitionCall -> getFeature ( ) -> getLanguage ( ) ) ; return $ this -> match ( $ regex , $ argumentValue , $ match ) ; }
Checks if transformer supports argument.

@param RegexGenerator $regexGenerator
@param DefinitionCall $definitionCall
@param mixed          $argumentValue

@return bool
Checks if transformer supports argument .