src/yimaTheme/View/Helper/ThemeHelper.php
function getRoot()
    {
        $sm    = $this->sl->getServiceLocator();
        $event = $sm->get('Application')
            ->getMvcEvent();

        return $event->getViewModel();
    }
function getRoot()
    {
        $sm    = $this->sl->getServiceLocator();
        $event = $sm->get('Application')
            ->getMvcEvent();

        return $event->getViewModel();
    }
Get Root View Model

@return ModelInterface