1 | <?php |
||
4 | class ReturnMetadata |
||
5 | { |
||
6 | /** |
||
7 | * @var string |
||
8 | */ |
||
9 | private $type; |
||
10 | |||
11 | /** |
||
12 | * @var bool |
||
13 | */ |
||
14 | private $builtin; |
||
15 | |||
16 | /** |
||
17 | * @var bool |
||
18 | */ |
||
19 | private $collection; |
||
20 | |||
21 | /** |
||
22 | * @var bool |
||
23 | */ |
||
24 | private $allowsNull; |
||
25 | |||
26 | public function __construct(string $type, bool $builtin, bool $allowsNull, bool $collection) |
||
33 | |||
34 | public function getType(): string |
||
38 | |||
39 | public function isBuiltin(): bool |
||
43 | |||
44 | public function allowsNull(): bool |
||
48 | |||
49 | public function isCollection(): bool |
||
53 | |||
54 | |||
55 | } |
||
56 |