ok
Direktori : /home2/selectio/public_html/myclassicfit.com/vendor/facade/ignition/src/Middleware/ |
Current File : /home2/selectio/public_html/myclassicfit.com/vendor/facade/ignition/src/Middleware/AddQueries.php |
<?php namespace Facade\Ignition\Middleware; use Facade\FlareClient\Report; use Facade\Ignition\QueryRecorder\QueryRecorder; class AddQueries { /** @var \Facade\Ignition\QueryRecorder\QueryRecorder */ protected $queryRecorder; public function __construct(QueryRecorder $queryRecorder) { $this->queryRecorder = $queryRecorder; } public function handle(Report $report, $next) { $report->group('queries', $this->queryRecorder->getQueries()); return $next($report); } }