public function handleLaravelRoute(RouteMatched $event)
    {
        if ($this->isValidFrontendRoute($event)) {
            ViewComposer::addCallback(function () use ($event) {
                $blockIds = $this->blockFinder->getBlocksIds($event->route->getName(), true);
                $blocks   = $this->blockRepository->getVisibleBlocks($blockIds, $this->languageService->getCurrent(), true);
                $this->handleBlockRendering($blocks);
                $blocks = $blocks->groupBy('region');
                view()->share('blocks', $blocks);
            });
        }
    }