| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 44 | public function transformArgument(DefinitionCall $definitionCall, $argumentIndex, $argumentValue) { |
||
| 45 | $replacements = array(); |
||
| 46 | foreach ($this->matches as $match) { |
||
| 47 | $replacements[ $match[0] ] = BehatVariablesDatabase::get($match[1]); |
||
| 48 | } |
||
| 49 | |||
| 50 | return strtr($argumentValue, $replacements); |
||
| 51 | } |
||
| 52 | |||
| 54 |