1 | <?php |
||
11 | final class IsSafeHttpMethod implements IsSafeHttpRequestInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var \string[] |
||
15 | */ |
||
16 | private $safeMethods; |
||
17 | |||
18 | public function __construct(string ...$safeMethods) |
||
22 | |||
23 | public static function fromDefaultSafeMethods() : self |
||
27 | |||
28 | public function __invoke(ServerRequestInterface $request) : bool |
||
32 | } |
||
33 |