public function getAdminPanel(MvcEvent $event)
    {
        $matchRoute = $event->getRouteMatch();

        if (empty($matchRoute)) {
            return null;
        }

        /** @var \RcmAdmin\Controller\AdminPanelController $adminPanelController */
        $adminPanelController = $this->serviceLocator->get(
            \RcmAdmin\Controller\AdminPanelController::class
        );

        $adminPanelController->setEvent($event);

        $adminWrapper = $adminPanelController->getAdminWrapperAction();

        if (!$adminWrapper instanceof ViewModel) {
            return;
        }

        /** @var \Zend\View\Model\ViewModel $viewModel */
        $layout = $event->getViewModel();
        $layout->addChild($adminWrapper, 'rcmAdminPanel');
    }