protected function file($name)
    {
        $path = PathHelper::normalizePath(
            $this->path.DIRECTORY_SEPARATOR.str_replace('.', '/', $name).'.blade.php'
        );

        return file_exists($path) ? file_get_contents($path) : '';
    }
protected function file($name)
    {
        $path = PathHelper::normalizePath(
            $this->path.DIRECTORY_SEPARATOR.str_replace('.', '/', $name).'.blade.php'
        );

        return file_exists($path) ? file_get_contents($path) : '';
    }
protected function file ( $ name ) { $ path = PathHelper :: normalizePath ( $ this -> path . DIRECTORY_SEPARATOR . str_replace ( '.' , '/' , $ name ) . '.blade.php' ) ; return file_exists ( $ path ) ? file_get_contents ( $ path ) : '' ; }
Get the contents of one of the view with the given name.

@param string $name

@return string
Get the contents of one of the view with the given name .