for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace DanBettles\Defence\Factory;
use Symfony\Component\HttpFoundation\Response;
class HttpResponseFactory
{
public function createForbiddenResponse(string $content): Response
return new Response($content, Response::HTTP_FORBIDDEN);
}