| Total Complexity | 3 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class DelegateQuestion |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | * @JMS\Type("string") |
||
| 12 | */ |
||
| 13 | private $handle; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | * @JMS\Type("string") |
||
| 18 | */ |
||
| 19 | private $answer; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * DelegateQuestion constructor. |
||
| 23 | * @param $handle |
||
| 24 | * @param $answer |
||
| 25 | */ |
||
| 26 | public function __construct(string $handle, string $answer) |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function getHandle(): string |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function getAnswer(): string |
||
| 48 |