1 | <?php |
||
10 | class BehatVariablesArgumentTransformer implements ArgumentTransformer { |
||
11 | |||
12 | const SLOT_NAME_OPEN = '<<'; |
||
13 | const SLOT_NAME_CLOSE = '>>'; |
||
14 | const SLOT_NAME_REGEX = '#<<([a-z]\w*)>>#i'; |
||
15 | |||
16 | protected $context; |
||
17 | protected $matches; |
||
18 | |||
19 | /** |
||
20 | * |
||
21 | */ |
||
22 | static public function validSlotName($slot) { |
||
31 | |||
32 | /** |
||
33 | * |
||
34 | */ |
||
35 | public function supportsDefinitionAndArgument(DefinitionCall $definitionCall, $argumentIndex, $argumentValue) { |
||
40 | |||
41 | /** |
||
42 | * |
||
43 | */ |
||
44 | public function transformArgument(DefinitionCall $definitionCall, $argumentIndex, $argumentValue) { |
||
52 | |||
53 | } |
||
54 |