1 | <?php |
||
7 | class HeaderCollection extends BaseCollection |
||
8 | { |
||
9 | /** |
||
10 | * @param Header $header |
||
11 | */ |
||
12 | public function addHeader(Header $header) |
||
16 | |||
17 | /** |
||
18 | * @return Header |
||
19 | */ |
||
20 | public function current() |
||
24 | |||
25 | /** |
||
26 | * @param HeaderKey $searchKey |
||
27 | * |
||
28 | * @throws HeaderNotFoundException |
||
29 | * |
||
30 | * @return Header |
||
31 | */ |
||
32 | public function getHeader(HeaderKey $searchKey) |
||
42 | |||
43 | /** |
||
44 | * @param HeaderKey $searchKey |
||
45 | * |
||
46 | * @return bool |
||
47 | */ |
||
48 | public function headerKeyExists(HeaderKey $searchKey) |
||
56 | |||
57 | /** |
||
58 | * @param Header $searchHeader |
||
59 | * |
||
60 | * @return bool |
||
61 | */ |
||
62 | public function headerExists(Header $searchHeader) |
||
72 | } |
||
73 |