Bolt\Tests\BoltListener::getTheme PHP Method

getTheme() protected method

Get the path to the theme to be used in the unit test.
protected getTheme ( string $theme ) : string
$theme string
return string
    protected function getTheme($theme)
    {
        if ($theme === false || isset($theme['theme']) && $theme['theme'] === '') {
            return $this->getPath('theme', 'theme/base-2016');
        } else {
            return $this->getPath('theme', $theme['theme']);
        }
    }