| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class HeadList extends StorageList |
||
| 16 | { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Returns the SetCookie flag of the HTTP header. |
||
| 20 | * |
||
| 21 | * @param string $headerLine HTTP header line. |
||
| 22 | * |
||
| 23 | * @return bool |
||
| 24 | */ |
||
| 25 | 5 | protected function isHeaderSetCookie($headerLine) |
|
| 26 | { |
||
| 27 | 5 | return ('Set-Cookie:' == substr($headerLine, 0, 11)); |
|
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Returns the HTTP flag of the header. |
||
| 32 | * |
||
| 33 | * @param string $headerLine HTTP header line. |
||
| 34 | * |
||
| 35 | * @return bool |
||
| 36 | */ |
||
| 37 | 3 | protected function isHeaderHTTP($headerLine) |
|
| 40 | } |
||
| 41 | } |
||
| 42 |