| 1 | <?php |
||
| 25 | final class BreadcrumbListener |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * @var array |
||
| 29 | */ |
||
| 30 | protected $blockServices = []; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Add a renderer to the status services list. |
||
| 34 | * |
||
| 35 | * @param string $type |
||
| 36 | */ |
||
| 37 | public function addBlockService($type, BlockServiceInterface $blockService): void |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Add context related BlockService, if found. |
||
| 44 | */ |
||
| 45 | public function onBlock(BlockEvent $event): void |
||
| 66 | } |
||
| 67 |