src/PHPDish/Bundle/CoreBundle/Theme/Context/GenericThemeContext.php
public function getTheme(): ?ThemeInterface
    {
        return $this->currentThemeName ?
            $this->themeRepository->findOneByName($this->currentThemeName) :
            null;
    }
public function getTheme(): ?ThemeInterface
    {
        return $this->currentThemeName ?
            $this->themeRepository->findOneByName($this->currentThemeName) :
            null;
    }
{@inheritdoc}