| 1 | <?php |
||
| 10 | class IncidenceKey |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var int |
||
| 15 | */ |
||
| 16 | private $id; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | private $value; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return int |
||
| 25 | */ |
||
| 26 | 1 | public function getId(): int |
|
| 27 | { |
||
| 28 | 1 | return $this->id; |
|
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param int $id |
||
| 33 | * |
||
| 34 | * @return IncidenceKey |
||
| 35 | */ |
||
| 36 | 2 | public function setId(int $id): IncidenceKey |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | 1 | public function getValue(): string |
|
| 46 | { |
||
| 47 | 1 | return $this->value; |
|
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param string $value |
||
| 52 | * |
||
| 53 | * @return IncidenceKey |
||
| 54 | */ |
||
| 55 | 2 | public function setValue(string $value): IncidenceKey |
|
| 60 | |||
| 61 | } |