| 1 | <?php |
||
| 12 | class Header extends AbstractModel implements Arrayable { |
||
| 13 | |||
| 14 | use DescriptionPart; |
||
| 15 | use TypePart; |
||
| 16 | use ItemsPart; |
||
| 17 | use ExtensionPart; |
||
| 18 | |||
| 19 | /** @var string */ |
||
| 20 | private $header; |
||
| 21 | |||
| 22 | 1 | public function __construct($header, $contents = null) { |
|
| 26 | |||
| 27 | 1 | private function parse($contents = []) { |
|
| 36 | |||
| 37 | 1 | public function toArray() { |
|
| 40 | |||
| 41 | /** |
||
| 42 | * Returns the header |
||
| 43 | * |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | 1 | public function getHeader() { |
|
| 49 | |||
| 50 | } |
||
| 51 |