src/Theme/Theme.php
private function findThemeByDirectory($directory)
    {
        if (isset($this->themes[$directory])) {
            return $this->themes[$directory];
        }

        return null;
    }
private function findThemeByDirectory($directory)
    {
        if (isset($this->themes[$directory])) {
            return $this->themes[$directory];
        }

        return null;
    }
private function findThemeByDirectory ( $ directory ) { if ( isset ( $ this -> themes [ $ directory ] ) ) { return $ this -> themes [ $ directory ] ; } return null ; }
Find a theme from all scanned themes

@param string $directory
@return null|ThemeInfo
Find a theme from all scanned themes