code: 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;
      }
docs: Get cache path.
  
  @return [[@doctodo return_type:getCachePath]] [[@doctodo return_description:getCachePath]]