| 1 | <?php  | 
            ||
| 8 | class PrefixedEntity  | 
            ||
| 9 | { | 
            ||
| 10 | /** @var string */  | 
            ||
| 11 | private $id;  | 
            ||
| 12 | |||
| 13 | /** @var string */  | 
            ||
| 14 | private $payload;  | 
            ||
| 15 | |||
| 16 | /** @var PrefixedEntity */  | 
            ||
| 17 | private $parent;  | 
            ||
| 18 | |||
| 19 | /** @var PrefixedEntity[]|Collection */  | 
            ||
| 20 | private $children;  | 
            ||
| 21 | |||
| 22 | /**  | 
            ||
| 23 | * PrefixedEntity constructor.  | 
            ||
| 24 | */  | 
            ||
| 25 | public function __construct()  | 
            ||
| 29 | |||
| 30 | |||
| 31 | /**  | 
            ||
| 32 | * @return mixed  | 
            ||
| 33 | */  | 
            ||
| 34 | public function getId()  | 
            ||
| 38 | |||
| 39 | /**  | 
            ||
| 40 | * @return mixed  | 
            ||
| 41 | */  | 
            ||
| 42 | public function getPayload()  | 
            ||
| 46 | |||
| 47 | /**  | 
            ||
| 48 | * @return PrefixedEntity  | 
            ||
| 49 | */  | 
            ||
| 50 | public function getParent()  | 
            ||
| 54 | |||
| 55 | /**  | 
            ||
| 56 | * @return PrefixedEntity[]  | 
            ||
| 57 | */  | 
            ||
| 58 | public function getChildren()  | 
            ||
| 62 | }  | 
            ||
| 63 |