| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function handleEvent(CommandExecuted $event) |
||
| 16 | { |
||
| 17 | $metadata = [ |
||
| 18 | 'connectionName' => $event->connectionName, |
||
| 19 | 'command' => $this->formatCommand($event->command, $event->parameters), |
||
| 20 | 'duration' => number_format($event->time, 2, '.', '').'ms', |
||
| 21 | ]; |
||
| 22 | |||
| 23 | Honeybadger::addBreadcrumb('Redis command executed', $metadata, 'query'); |
||
| 24 | } |
||
| 45 |