protected function addRegisteredLocation($theme, $parent)
    {
        if (! is_null($parent)) {
            $parentLocation = $this->path('resources/views');
            app('view.finder')->prependLocation($parentLocation);
        }

        $themeLocation = $this->path('resources/views');
        app('view.finder')->prependLocation($themeLocation);
    }
protected function addRegisteredLocation($theme, $parent)
    {
        if (! is_null($parent)) {
            $parentLocation = $this->path('resources/views');
            app('view.finder')->prependLocation($parentLocation);
        }

        $themeLocation = $this->path('resources/views');
        app('view.finder')->prependLocation($themeLocation);
    }
protected function addRegisteredLocation ( $ theme , $ parent ) { if ( ! is_null ( $ parent ) ) { $ parentLocation = $ this -> path ( 'resources/views' ) ; app ( 'view.finder' ) -> prependLocation ( $ parentLocation ) ; } $ themeLocation = $ this -> path ( 'resources/views' ) ; app ( 'view.finder' ) -> prependLocation ( $ themeLocation ) ; }
Register the primary and parent theme with the view finder.

@param  Manifest  $theme
@param  Manifest  $parent
Register the primary and parent theme with the view finder .