| 1 | <?php  | 
            ||
| 7 | class MutationTypeConfig  | 
            ||
| 8 | { | 
            ||
| 9 | use JsonPathAccessor;  | 
            ||
| 10 | |||
| 11 | const SCALAR_DATA_TYPE = 'scalar';  | 
            ||
| 12 | |||
| 13 | /**  | 
            ||
| 14 | * @var string  | 
            ||
| 15 | */  | 
            ||
| 16 | public $type;  | 
            ||
| 17 | |||
| 18 | /**  | 
            ||
| 19 | * @var string  | 
            ||
| 20 | */  | 
            ||
| 21 | public $linksTo;  | 
            ||
| 22 | |||
| 23 | /**  | 
            ||
| 24 | * @var array  | 
            ||
| 25 | */  | 
            ||
| 26 | public $children = [];  | 
            ||
| 27 | |||
| 28 | 4 | public function __get(string $propertyName)  | 
            |
| 36 | |||
| 37 | 100 | public function hasChild(string $key): bool  | 
            |
| 41 | }  | 
            ||
| 42 |