| Total Complexity | 3 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | final class BlockRenderingHistory implements BlockRenderingHistoryInterface |
||
| 17 | { |
||
| 18 | private array $currentlyRendered = []; |
||
| 19 | |||
| 20 | public function startRenderingBlock(BlockInterface $block): void |
||
| 21 | { |
||
| 22 | $this->currentlyRendered[] = $block; |
||
| 23 | } |
||
| 24 | |||
| 25 | public function getRenderedHistory(): array |
||
| 28 | } |
||
| 29 | |||
| 30 | public function reset(): void |
||
| 35 |