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