1 | <?php |
||
10 | abstract class Header |
||
11 | { |
||
12 | /** |
||
13 | * The header signature. |
||
14 | * |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $headerSignature; |
||
18 | |||
19 | /** |
||
20 | * Initialize the instance. |
||
21 | * |
||
22 | * @param Reader $reader The reader that provides the data. |
||
23 | * |
||
24 | * @throws \Exception Throws an Exception in case of errors. |
||
25 | */ |
||
26 | 4 | public function __construct(Reader $reader) |
|
30 | |||
31 | /** |
||
32 | * Get the header signature. |
||
33 | * |
||
34 | * @return string |
||
35 | */ |
||
36 | public function getHeaderSignature() |
||
40 | } |
||
41 |