src/yimaTheme/Theme/Locator.php
protected function attainThemeName()
    {
        $themeName = $this->getResolverObject('resolver_adapter_service')
            ->getName();

        return (empty($themeName) && ! ($themeName === '0')) ? false : $themeName;
    }
protected function attainThemeName()
    {
        $themeName = $this->getResolverObject('resolver_adapter_service')
            ->getName();

        return (empty($themeName) && ! ($themeName === '0')) ? false : $themeName;
    }
Resolve to theme name by Aggregate services

@return bool
@throws \Exception