Total Complexity | 5 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | namespace hanneskod\readmetester\Runner; |
||
8 | |||
9 | use hanneskod\readmetester\Example\ExampleObj; |
||
10 | |||
11 | final class OutputOutcome implements OutcomeInterface |
||
12 | { |
||
13 | use OutcomeDefaultsTrait; |
||
14 | |||
15 | public function __construct( |
||
16 | private ExampleObj $example, |
||
|
|||
17 | private string $content, |
||
18 | ) {} |
||
19 | |||
20 | public function isOutput(): bool |
||
21 | { |
||
22 | return true; |
||
23 | } |
||
24 | |||
25 | public function mustBeHandled(): bool |
||
26 | { |
||
27 | return true; |
||
28 | } |
||
29 | |||
30 | public function getContent(): string |
||
31 | { |
||
32 | return $this->content; |
||
33 | } |
||
34 | |||
35 | public function getDescription(): string |
||
40 |