| 1 | <?php declare(strict_types=1); |
||
| 5 | class Property implements PropertyInterface |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | private $name; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var mixed |
||
| 14 | */ |
||
| 15 | private $value; |
||
| 16 | |||
| 17 | 4 | public function __construct(string $name, $value) |
|
| 22 | |||
| 23 | /** |
||
| 24 | * @return string |
||
| 25 | */ |
||
| 26 | 3 | public function getName(): string |
|
| 30 | |||
| 31 | /** |
||
| 32 | * @return mixed |
||
| 33 | */ |
||
| 34 | 3 | public function getValue() |
|
| 38 | } |
||
| 39 |