Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
20 | class Header extends StorageArray |
||
21 | { |
||
22 | |||
23 | /** |
||
24 | * List of supported fields. |
||
25 | * |
||
26 | * @var array |
||
27 | */ |
||
28 | protected $fields = array( |
||
29 | 'name' => null, // Header name. |
||
30 | 'value' => null, // Header value. |
||
31 | ); |
||
32 | |||
33 | /** |
||
34 | * Get the value as a string. |
||
35 | * |
||
36 | * @return null|string |
||
37 | */ |
||
38 | 4 | public function toString() |
|
48 |