Beans_Lessc::findImport PHP Method

findImport() protected method

attempts to find the path of an import url, returns null for css files
protected findImport ( $url )
    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 null;
    }