1 | <?php |
||
18 | class Header implements ExcluderInterface |
||
19 | { |
||
20 | /** |
||
21 | * Request header. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $header; |
||
26 | |||
27 | /** |
||
28 | * Request header value. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $value; |
||
33 | |||
34 | /** |
||
35 | * @param string $header |
||
36 | * @param string|null $value |
||
37 | */ |
||
38 | public function __construct($header, $value = null) |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function isExcluded(ServerRequestInterface $request) |
||
54 | } |
||
55 |