public function handleGenerateFrontendUrl(GenerateFrontendUrlEvent $event)
    {
        /** @var Controller $controllerAdapter */
        $controllerAdapter = $this->framework->getAdapter(Controller::class);

        $url = $controllerAdapter->generateFrontendUrl(
            $event->getPageData(),
            $event->getParameters(),
            $event->getLanguage(),
            $event->getFixDomain()
        );

        $event->setUrl($url);
    }
public function handleGenerateFrontendUrl(GenerateFrontendUrlEvent $event)
    {
        /** @var Controller $controllerAdapter */
        $controllerAdapter = $this->framework->getAdapter(Controller::class);

        $url = $controllerAdapter->generateFrontendUrl(
            $event->getPageData(),
            $event->getParameters(),
            $event->getLanguage(),
            $event->getFixDomain()
        );

        $event->setUrl($url);
    }
public function handleGenerateFrontendUrl ( GenerateFrontendUrlEvent $ event ) { /** @var Controller $controllerAdapter */ $ controllerAdapter = $ this -> framework -> getAdapter ( Controller :: class ) ; $ url = $ controllerAdapter -> generateFrontendUrl ( $ event -> getPageData ( ) , $ event -> getParameters ( ) , $ event -> getLanguage ( ) , $ event -> getFixDomain ( ) ) ; $ event -> setUrl ( $ url ) ; }
Generate a frontend url.

@param GenerateFrontendUrlEvent $event The event.

@return void
Generate a frontend url .