BasicValetDriver::isStaticFile PHP Method

isStaticFile() public method

Determine if the incoming request is for a static file.
public isStaticFile ( string $sitePath, string $siteName, string $uri ) : string | false
$sitePath string
$siteName string
$uri string
return string | false
    public function isStaticFile($sitePath, $siteName, $uri)
    {
        if (file_exists($staticFilePath = $sitePath . '/public' . $uri)) {
            return $staticFilePath;
        } elseif ($this->isActualFile($staticFilePath = $sitePath . $uri)) {
            return $staticFilePath;
        }
        return false;
    }