protected function cacheKey() { $cacheKey = parent::cacheKey(); $targetFile = $this->targetFile(); if ($targetFile) { $cacheKey .= '.' . $targetFile; } return $cacheKey; }
public function cacheKey() { //only return a cacheKey when there is a token if ($this->token) { return parent::cacheKey(); } return null; }
public function cacheKey() { return URLDataRetriever::cacheKey(); }