for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spatie\Csp\Exceptions;
use Exception;
class InvalidDirective extends Exception
{
public static function notSupported(string $directive): self
return new self("The directive `{$directive}` is not valid in a CSP header. ");
}