Codesleeve\AssetPipeline\Filters\URLRewrite::found_file_match PHP Метод

found_file_match() публичный Метод

Search for the case where we might be concatenating and so long as the url doesn't start with a '/' we will see if there is a file relative to this directory.
public found_file_match ( string $url ) : array(bool,
$url string
Результат array(bool,
    public function found_file_match($url)
    {
        if ($url[0] != '/' && $this->fileExists($this->root . $url)) {
            return array(true, $this->baseurl . $this->prefix . $this->base . $url);
        }
        return array(false, $url);
    }