| Total Complexity | 3 | 
| Total Lines | 38 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1);  | 
            ||
| 8 | class Answer  | 
            ||
| 9 | { | 
            ||
| 10 | /**  | 
            ||
| 11 | * @var UuidInterface  | 
            ||
| 12 | */  | 
            ||
| 13 | private $id;  | 
            ||
| 14 | |||
| 15 | /**  | 
            ||
| 16 | * @var NotEmptyString  | 
            ||
| 17 | */  | 
            ||
| 18 | private $text;  | 
            ||
| 19 | |||
| 20 | /**  | 
            ||
| 21 | * @param UuidInterface $id  | 
            ||
| 22 | * @param NotEmptyString $text  | 
            ||
| 23 | */  | 
            ||
| 24 | public function __construct(  | 
            ||
| 25 | UuidInterface $id,  | 
            ||
| 26 | NotEmptyString $text  | 
            ||
| 27 |     ) { | 
            ||
| 28 | $this->id = $id;  | 
            ||
| 29 | $this->text = $text;  | 
            ||
| 30 | }  | 
            ||
| 31 | |||
| 32 | /**  | 
            ||
| 33 | * @return UuidInterface  | 
            ||
| 34 | */  | 
            ||
| 35 | public function getId(): UuidInterface  | 
            ||
| 36 |     { | 
            ||
| 37 | return $this->id;  | 
            ||
| 38 | }  | 
            ||
| 39 | |||
| 40 | /**  | 
            ||
| 41 | * @return NotEmptyString  | 
            ||
| 42 | */  | 
            ||
| 43 | public function getText(): NotEmptyString  | 
            ||
| 46 | }  | 
            ||
| 47 | }  | 
            ||
| 48 |