src/Theme/Theme.php
public function get($theme = null)
    {
        if (is_null($theme)) {
            return $this->themes[$this->activeTheme];
        }

        return $this->themes[$theme];
    }
public function get($theme = null)
    {
        if (is_null($theme)) {
            return $this->themes[$this->activeTheme];
        }

        return $this->themes[$theme];
    }
Returns theme information.

@param string Theme directory
@return null|ThemeInfo