protected function addThemeNamespaceHints($namespace)
    {
        $theme = Theme::getCurrent();
        
        $hints   = array_reverse($this->hints[$namespace]);
        $hints[] = Theme::path('resources/views/vendor/'.$namespace);
        
        if (class_exists(\Caffeinated\Modules\ModulesServiceProvider::class)) {
            $hints[] = Theme::path('resources/views/modules/'.$namespace);
        }
        
        $this->hints[$namespace] = array_reverse($hints);
    }
protected function addThemeNamespaceHints($namespace)
    {
        $theme = Theme::getCurrent();
        
        $hints   = array_reverse($this->hints[$namespace]);
        $hints[] = Theme::path('resources/views/vendor/'.$namespace);
        
        if (class_exists(\Caffeinated\Modules\ModulesServiceProvider::class)) {
            $hints[] = Theme::path('resources/views/modules/'.$namespace);
        }
        
        $this->hints[$namespace] = array_reverse($hints);
    }
protected function addThemeNamespaceHints ( $ namespace ) { $ theme = Theme :: getCurrent ( ) ; $ hints = array_reverse ( $ this -> hints [ $ namespace ] ) ; $ hints [ ] = Theme :: path ( 'resources/views/vendor/' . $ namespace ) ; if ( class_exists ( \ Caffeinated \ Modules \ ModulesServiceProvider :: class ) ) { $ hints [ ] = Theme :: path ( 'resources/views/modules/' . $ namespace ) ; } $ this -> hints [ $ namespace ] = array_reverse ( $ hints ) ; }
Add namespace hints for the currently set theme.

@param  string  $namespace
@return array
Add namespace hints for the currently set theme .