| Total Complexity | 5 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | abstract class AbstractStatus implements StatusInterface |
||
| 10 | { |
||
| 11 | public function __construct( |
||
| 12 | private OutcomeInterface $outcome, |
||
| 13 | private string $content, |
||
| 14 | ) {} |
||
| 15 | |||
| 16 | public function getContent(): string |
||
| 17 | { |
||
| 18 | return $this->content; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function getTruncatedContent(int $strlen = 60): string |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getOutcome(): OutcomeInterface |
||
| 37 |