lib/components/web/themes/AssetBundle.php
public function getCachePath()
    {
        if (empty($this->basePath)) {
            return false;
        }
        $cachePath = $this->basePath . DIRECTORY_SEPARATOR . 'cache';
        if (!is_dir($cachePath)) {
            @mkdir($cachePath, 0777, true);
        }
        if (!is_dir($cachePath)) {
            return false;
        }

        return $cachePath;
    }
public function getCachePath()
    {
        if (empty($this->basePath)) {
            return false;
        }
        $cachePath = $this->basePath . DIRECTORY_SEPARATOR . 'cache';
        if (!is_dir($cachePath)) {
            @mkdir($cachePath, 0777, true);
        }
        if (!is_dir($cachePath)) {
            return false;
        }

        return $cachePath;
    }
Get cache path.

@return [[@doctodo return_type:getCachePath]] [[@doctodo return_description:getCachePath]]