for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Ray\AuraSqlModule;
use Aura\Sql\Profiler\Profiler;
use Override;
use Psr\Log\LoggerInterface;
use Ray\Di\Provider;
final readonly class ProfilerProvider implements Provider
{
public function __construct(private LoggerInterface $logger)
}
#[Override]
public function get(): Profiler
$profiler = new Profiler($this->logger);
$profiler->setLogFormat('{duration}: {function} {statement}:{values}');
$profiler->setActive(true);
return $profiler;