src/yimaTheme/Theme/Locator.php
public function getMvcLayout(MvcEvent $e)
    {
        try {
            $resolver = $this->getResolverObject('mvclayout_resolver_adapter', array('event_mvc' => $e));
        } catch (\Exception $e) {
            throw $e;
        }

        $layout = $resolver->getName();
        if (empty($layout) && ! ($layout === '0') ) {
            return false;
        }

        return $layout;
    }
public function getMvcLayout(MvcEvent $e)
    {
        try {
            $resolver = $this->getResolverObject('mvclayout_resolver_adapter', array('event_mvc' => $e));
        } catch (\Exception $e) {
            throw $e;
        }

        $layout = $resolver->getName();
        if (empty($layout) && ! ($layout === '0') ) {
            return false;
        }

        return $layout;
    }
Get layout name according to MvcEvent on EVENT_DISPATCH

@param MvcEvent $e

@throws \Exception
@return string | false