| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 46 | 29 | public function parseSQL() |
|
| 47 | { |
||
| 48 | 29 | $references = $this->manager->all(); |
|
| 49 | |||
| 50 | 29 | foreach ($references as &$value) { |
|
| 51 | 21 | $value = $this->convertReferenceToValue($value); |
|
| 52 | 29 | } |
|
| 53 | |||
| 54 | 29 | return str_replace(array_keys($references), array_values($references), $this->rawSQL); |
|
| 55 | } |
||
| 56 | |||
| 74 | } |