for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Xervice\Service\Handler\Handler;
use Symfony\Component\Debug\Debug;
use Xervice\Service\Handler\HandlerInterface;
class DebugHandler implements HandlerInterface
{
/**
* @param bool $isDebug
*/
public function handle(bool $isDebug): void
if ($isDebug) {
putenv("APP_DEBUG=true");
Debug::enable();
}