protected function resolveImportPath($file)
    {
        if (($path = realpath($file)) !== false) {
            return $path;
        } elseif (($path = realpath($file.'.blade.php')) !== false) {
            return $path;
        } elseif (($path = realpath(getcwd().'/vendor/'.$file.'/Envoy.blade.php')) !== false) {
            return $path;
        } elseif (($path = realpath(__DIR__.'/'.$file.'.blade.php')) !== false) {
            return $path;
        }

        return false;
    }
protected function resolveImportPath($file)
    {
        if (($path = realpath($file)) !== false) {
            return $path;
        } elseif (($path = realpath($file.'.blade.php')) !== false) {
            return $path;
        } elseif (($path = realpath(getcwd().'/vendor/'.$file.'/Envoy.blade.php')) !== false) {
            return $path;
        } elseif (($path = realpath(__DIR__.'/'.$file.'.blade.php')) !== false) {
            return $path;
        }

        return false;
    }
protected function resolveImportPath ( $ file ) { if ( ( $ path = realpath ( $ file ) ) !== false ) { return $ path ; } elseif ( ( $ path = realpath ( $ file . '.blade.php' ) ) !== false ) { return $ path ; } elseif ( ( $ path = realpath ( getcwd ( ) . '/vendor/' . $ file . '/Envoy.blade.php' ) ) !== false ) { return $ path ; } elseif ( ( $ path = realpath ( __DIR__ . '/' . $ file . '.blade.php' ) ) !== false ) { return $ path ; } return false ; }
Resolve the import path for the given file.

@param  string  $file
@return string|bool
Resolve the import path for the given file .