| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | final class DocumentRenderedEvent extends AbstractEvent |
||
| 17 | { |
||
| 18 | /** @var string */ |
||
| 19 | private $content; |
||
| 20 | |||
| 21 | 234 | public function __construct(string $content) |
|
| 24 | 234 | } |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @psalm-mutation-free |
||
| 28 | */ |
||
| 29 | 234 | public function getContent(): string |
|
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @psalm-external-mutation-free |
||
| 36 | */ |
||
| 37 | 6 | public function replaceContent(string $content): void |
|
| 42 |