1 | <?php |
||
5 | abstract class AbstractAnnotationReadable extends AbstractParentCore |
||
6 | { |
||
7 | private $children; |
||
8 | |||
9 | /** |
||
10 | * @var Chrisyue\PhpM3u8\M3u8\PropertyReader\PropertyReaderInterface |
||
11 | */ |
||
12 | public $reader; |
||
13 | |||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | public $class; |
||
18 | |||
19 | protected function getChildren() |
||
20 | { |
||
21 | if (null === $this->children) { |
||
22 | $this->children = $this->reader->read($this->class, ChildCoreInterface::class); |
||
23 | } |
||
24 | |||
25 | return $this->children; |
||
26 | } |
||
27 | |||
28 | protected function initResult() |
||
32 | } |
||
33 |