Total Complexity | 5 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | final class ConditionalResponse implements ConditionalResponseInterface |
||
12 | { |
||
13 | /** @see https://tools.ietf.org/html/rfc7232#section-4.1 */ |
||
14 | private const HEADER_IN_304 = [ |
||
15 | 'Cache-Control', |
||
16 | 'Content-Location', |
||
17 | 'Date', |
||
18 | 'ETag', |
||
19 | 'Expires', |
||
20 | 'Vary', |
||
21 | ]; |
||
22 | |||
23 | /** |
||
24 | * {@inheritDoc} |
||
25 | */ |
||
26 | public function isModified(ResourceObject $ro, array $server): bool |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * {@inheritDoc} |
||
33 | */ |
||
34 | public function getOutput(array $headers): Output |
||
48 |