Conditions | 3 |
Paths | 4 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
39 | public static function mapLocatorLabelToRenderVariable($locatorTerm) |
||
40 | { |
||
41 | if ($locatorTerm instanceof Locator) { |
||
42 | $locatorTerm = (string)$locatorTerm; |
||
43 | } |
||
44 | return |
||
45 | array_key_exists($locatorTerm, self::LABEL_TO_VARIABLE_MAP) ? |
||
46 | self::LABEL_TO_VARIABLE_MAP[$locatorTerm] : $locatorTerm; |
||
47 | } |
||
49 |