| 1 | <?php declare(strict_types=1); |
||
| 5 | class Parameter implements ParameterInterface |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var int |
||
| 9 | */ |
||
| 10 | private $type; |
||
| 11 | |||
| 12 | private $value; |
||
| 13 | |||
| 14 | 18 | public function __construct(int $type, $value) |
|
| 19 | |||
| 20 | /** |
||
| 21 | * {@inheritDoc} |
||
| 22 | */ |
||
| 23 | 18 | public function getType(): int |
|
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritDoc} |
||
| 30 | */ |
||
| 31 | 18 | public function getValue() |
|
| 35 | } |
||
| 36 |