1 | <?php declare(strict_types = 1); |
||
15 | class ComplexType |
||
16 | { |
||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | private $name; |
||
21 | |||
22 | /** |
||
23 | * @var ObjectSchema |
||
24 | */ |
||
25 | private $schema; |
||
26 | |||
27 | /** |
||
28 | * ComplexType constructor. |
||
29 | * |
||
30 | * @param string $name |
||
31 | * @param ObjectSchema $schema |
||
32 | */ |
||
33 | public function __construct(string $name, ObjectSchema $schema) |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getName(): string |
||
46 | |||
47 | /** |
||
48 | * @return ObjectSchema |
||
49 | */ |
||
50 | public function getSchema(): ObjectSchema |
||
54 | } |
||
55 |