| 1 | <?php |
||
| 8 | class QueryRecorder |
||
| 9 | { |
||
| 10 | /** @var \Facade\Ignition\QueryRecorder\Query|[] */ |
||
| 11 | protected $queries = []; |
||
| 12 | |||
| 13 | /** @var \Illuminate\Contracts\Foundation\Application */ |
||
| 14 | protected $app; |
||
| 15 | |||
| 16 | public function __construct(Application $app) |
||
| 20 | |||
| 21 | public function register() |
||
| 27 | |||
| 28 | public function record(QueryExecuted $queryExecuted) |
||
| 38 | |||
| 39 | public function getQueries(): array |
||
| 49 | |||
| 50 | public function reset() |
||
| 54 | } |
||
| 55 |