protected function registerNamespaces()
    {
        $themes = app('caffeinated.themes')->all();

        foreach ($themes as $theme) {
            $namespace = $theme->get('slug');
			$hint      = app('caffeinated.themes')->path('resources/views', $theme->get('slug'));

            app('view')->addNamespace($namespace, $hint);
        }
	}
protected function registerNamespaces()
    {
        $themes = app('caffeinated.themes')->all();

        foreach ($themes as $theme) {
            $namespace = $theme->get('slug');
			$hint      = app('caffeinated.themes')->path('resources/views', $theme->get('slug'));

            app('view')->addNamespace($namespace, $hint);
        }
	}
protected function registerNamespaces ( ) { $ themes = app ( 'caffeinated.themes' ) -> all ( ) ; foreach ( $ themes as $ theme ) { $ namespace = $ theme -> get ( 'slug' ) ; $ hint = app ( 'caffeinated.themes' ) -> path ( 'resources/views' , $ theme -> get ( 'slug' ) ) ; app ( 'view' ) -> addNamespace ( $ namespace , $ hint ) ; } }
Register the theme namespaces.
Register the theme namespaces .