| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function startQuery($sql, ?array $params = null, ?array $types = null) : void |
||
| 13 | { |
||
| 14 | parent::startQuery($sql, $params, $types); |
||
| 15 | |||
| 16 | $backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS); |
||
| 17 | |||
| 18 | // skip first since it's always the current method |
||
| 19 | array_shift($backtrace); |
||
| 20 | |||
| 21 | $this->queries[$this->currentQuery]['backtrace'] = $backtrace; |
||
| 22 | } |
||
| 23 | } |
||
| 24 |