| 1 | <?php declare(strict_types = 1); | ||
| 5 | final class Installation | ||
| 6 | { | ||
| 7 | /** | ||
| 8 | * @var Id | ||
| 9 | */ | ||
| 10 | private $id; | ||
| 11 | |||
| 12 | /** | ||
| 13 | * @var string | ||
| 14 | */ | ||
| 15 | private $token; | ||
| 16 | |||
| 17 | /** | ||
| 18 | * @param Id $id | ||
| 19 | * @param string $token | ||
| 20 | */ | ||
| 21 | public function __construct(Id $id, string $token) | ||
| 26 | |||
| 27 | /** | ||
| 28 | * @return Id | ||
| 29 | */ | ||
| 30 | public function id(): Id | ||
| 34 | |||
| 35 | /** | ||
| 36 | * @return string | ||
| 37 | */ | ||
| 38 | public function token(): string | ||
| 42 | } | ||
| 43 |