src/Theme/Manager.php
public function getByPath($path)
    {
        foreach ($this->themeList as $theme => $themeInfo) {
            $path1 = $this->pathSlashFix($path);
            $path2 = $this->pathSlashFix($themeInfo['path']);

            if ($path1 == $path2) {
                $actualTheme = $this->themeList[$theme];
                break;
            }
        }

        return $actualTheme;
    }
public function getByPath($path)
    {
        foreach ($this->themeList as $theme => $themeInfo) {
            $path1 = $this->pathSlashFix($path);
            $path2 = $this->pathSlashFix($themeInfo['path']);

            if ($path1 == $path2) {
                $actualTheme = $this->themeList[$theme];
                break;
            }
        }

        return $actualTheme;
    }
public function getByPath ( $ path ) { foreach ( $ this -> themeList as $ theme => $ themeInfo ) { $ path1 = $ this -> pathSlashFix ( $ path ) ; $ path2 = $ this -> pathSlashFix ( $ themeInfo [ 'path' ] ) ; if ( $ path1 == $ path2 ) { $ actualTheme = $ this -> themeList [ $ theme ] ; break ; } } return $ actualTheme ; }
Get the ThemeInfo By Path

@param string $path
@return array $themInfo
Get the ThemeInfo By Path