1 | <?php |
||
30 | class Header |
||
31 | { |
||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | const HEADER_TAGS = 'X-Tags: %s'; |
||
36 | |||
37 | /** |
||
38 | * @var string |
||
39 | */ |
||
40 | const HEADER_DEBUG = 'X-Debug: 1'; |
||
41 | |||
42 | /** |
||
43 | * @var string |
||
44 | */ |
||
45 | const HEADER_ENABLED = 'X-Varnish-enabled: 1'; |
||
46 | |||
47 | /** |
||
48 | * @param TagInterface $tag |
||
49 | * @return void |
||
50 | */ |
||
51 | 5 | public function sendHeaderForTag(TagInterface $tag) |
|
58 | |||
59 | /** |
||
60 | * @return void |
||
61 | */ |
||
62 | 1 | public function sendDebugHeader() |
|
66 | |||
67 | /** |
||
68 | * @return void |
||
69 | */ |
||
70 | 1 | public function sendEnabledHeader() |
|
74 | } |
||
75 |