Beispiel #1
0
 /**
  * Get the cache path.
  * @param  mixed
  * @return string The cache path.
  */
 public function getCachePath()
 {
     $request = $this->resolveRequestObject(func_get_args());
     $requestPrefix = $this->makeRequestPrefix($request);
     $path = parent::getCachePath($request);
     if ($this->cachePathPrefix) {
         return str_replace($this->cachePathPrefix, $this->cachePathPrefix . '/' . $requestPrefix, $path);
     }
     return "{$requestPrefix}/{$path}";
 }