| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | public function buildQuery($SQL, array $parameters, $connectionHint = null) |
||
| 40 | { |
||
| 41 | if ($connectionHint instanceof ConnectionInterface) { |
||
| 42 | $connection = $connectionHint; |
||
| 43 | } else { |
||
| 44 | $connection = $this->connectionManager->getConnection($connectionHint); |
||
| 45 | } |
||
| 46 | |||
| 47 | return new Query($SQL, new ParameterCollection($parameters), $connection); |
||
| 48 | } |
||
| 49 | } |
||
| 50 |