1 | <?php declare(strict_types = 1); |
||
15 | class BoolReference implements ReferenceInterface |
||
16 | { |
||
17 | /** @var bool Value of reference */ |
||
18 | protected $value; |
||
19 | |||
20 | /** |
||
21 | * BoolReference constructor |
||
22 | * |
||
23 | * @param bool $value |
||
24 | */ |
||
25 | 4 | public function __construct(bool $value) |
|
29 | |||
30 | /** |
||
31 | * @return bool |
||
32 | */ |
||
33 | 1 | public function getValue(): bool |
|
37 | } |
||
38 |