src/Composers/OverwriteViewComposer.php
protected function getNewView()
    {
        if ($this->currentSite) {
            return str_replace(
                ['.blade.php'],
                [''],
                $this->sitesFolder.'.'.$this->currentSite->slug.'.'.$this->currentPath
            );
        }

        return $this->currentPath;
    }
protected function getNewView()
    {
        if ($this->currentSite) {
            return str_replace(
                ['.blade.php'],
                [''],
                $this->sitesFolder.'.'.$this->currentSite->slug.'.'.$this->currentPath
            );
        }

        return $this->currentPath;
    }
protected function getNewView ( ) { if ( $ this -> currentSite ) { return str_replace ( [ '.blade.php' ] , [ '' ] , $ this -> sitesFolder . '.' . $ this -> currentSite -> slug . '.' . $ this -> currentPath ) ; } return $ this -> currentPath ; }
Get the new view.

@return string
Get the new view .