public function find($themeName)
    {
        // Search for registered themes
        foreach ($this->themes as $theme) {
            if ($theme->name == $themeName) {
                return $theme;
            }

        }

        throw new Exceptions\themeNotFound($themeName);
    }
public function find($themeName)
    {
        // Search for registered themes
        foreach ($this->themes as $theme) {
            if ($theme->name == $themeName) {
                return $theme;
            }

        }

        throw new Exceptions\themeNotFound($themeName);
    }
public function find ( $ themeName ) { // Search for registered themes
 foreach ( $ this -> themes as $ theme ) { if ( $ theme -> name == $ themeName ) { return $ theme ; } } throw new Exceptions \ themeNotFound ( $ themeName ) ; }
Find a theme by it's name

@return Theme
Find a theme by it s name