| 1 | <?php |
||
| 5 | class Issue implements IssueInterface |
||
| 6 | { |
||
| 7 | private $subject; |
||
| 8 | private $description; |
||
| 9 | private $solution; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Issue constructor. |
||
| 13 | * @param string $subject |
||
| 14 | * @param string $description |
||
| 15 | * @param string $solution |
||
| 16 | */ |
||
| 17 | 2 | public function __construct(string $subject, string $description = '', string $solution = '') |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | 1 | public function getSubject(): string |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function getDescription(): string |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function getSolution(): string |
||
| 47 | } |
||
| 48 |