protected function findImport($url)
    {
        foreach ((array) $this->importDir as $dir) {
            $full = $dir.(substr($dir, -1) != '/' ? '/' : '').$url;
            if ($this->fileExists($file = $full.'.less') || $this->fileExists($file = $full)) {
                return $file;
            }
        }

        return;
    }
protected function findImport($url)
    {
        foreach ((array) $this->importDir as $dir) {
            $full = $dir.(substr($dir, -1) != '/' ? '/' : '').$url;
            if ($this->fileExists($file = $full.'.less') || $this->fileExists($file = $full)) {
                return $file;
            }
        }

        return;
    }
protected function findImport ( $ url ) { foreach ( ( array ) $ this -> importDir as $ dir ) { $ full = $ dir . ( substr ( $ dir , - 1 ) != '/' ? '/' : '' ) . $ url ; if ( $ this -> fileExists ( $ file = $ full . '.less' ) || $ this -> fileExists ( $ file = $ full ) ) { return $ file ; } } return ; }
attempts to find the path of an import url, returns null for css files
attempts to find the path of an import url returns null for css files