Total Complexity | 4 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | final class PageRenderingEventRecorder implements PageRenderingEventRecorderInterface |
||
17 | { |
||
18 | /** @var array */ |
||
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 |
||
27 | { |
||
28 | $this->currentlyRendered = array_merge($this->currentlyRendered, $pages); |
||
29 | } |
||
30 | |||
31 | public function getRecordedEvents(): array |
||
34 | } |
||
35 | |||
36 | public function reset(): void |
||
41 |