| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | class StatusMessage |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $message; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var string[] |
||
| 32 | */ |
||
| 33 | protected $values; |
||
| 34 | |||
| 35 | public function __construct(string $message, string ...$values) |
||
| 36 | { |
||
| 37 | $this->message = $message; |
||
| 38 | $this->values = $values; |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | public function getMessage(): string |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return string[] |
||
| 51 | */ |
||
| 52 | public function getValues(): array |
||
| 57 |