| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | final class UpdateState |
||
| 29 | { |
||
| 30 | use Helper\DonorAwareTrait; |
||
| 31 | |||
| 32 | /** @var string */ |
||
| 33 | private $transitionId; |
||
| 34 | |||
| 35 | /** @var string */ |
||
| 36 | private $desc; |
||
| 37 | |||
| 38 | public function __construct(Donor $donor, string $transitionId, string $desc) |
||
| 43 | } |
||
| 44 | |||
| 45 | public function getTransitionId(): string |
||
| 46 | { |
||
| 47 | return $this->transitionId; |
||
| 48 | } |
||
| 49 | |||
| 50 | public function getUpdateDescription(): string |
||
| 53 | } |
||
| 54 | } |
||
| 55 |