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);
    }