Total Complexity | 4 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | final class PageRenderingEventRecorder implements PageRenderingEventRecorderInterface |
||
17 | { |
||
18 | /** @var PageInterface[] */ |
||
19 | private $currentlyRendered = []; |
||
20 | |||
21 | public function recordRenderingPageEvent(PageInterface $page): void |
||
22 | { |
||
23 | $this->currentlyRendered[] = $page; |
||
24 | } |
||
25 | |||
26 | public function recordRenderingPageEventMultiple(array $pages): void |
||
29 | } |
||
30 | |||
31 | /** @return PageInterface[] */ |
||
32 | public function getRecordedEvents(): array |
||
35 | } |
||
36 | |||
37 | public function reset(): void |
||
42 |