for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace BeyondCode\QueryDetector\Outputs;
use Illuminate\Support\Collection;
use Symfony\Component\HttpFoundation\Response;
class Clockwork implements Output
boot
{
public function output(Collection $detectedQueries, Response $response)
clock()->warning("{$detectedQueries->count()} N+1 queries detected:", $detectedQueries->toArray());
}