Lines Matching refs:fetcher
18 const CANONICAL = "fetcher:cache";
28 private IFetcher $fetcher;
32 * @param IFetcher $fetcher
37 public function __construct(IFetcher $fetcher, array $keys = [])
40 $this->fetcher = $fetcher;
44 $cacheKey = $fetcher->getFetchUrl()->toAbsoluteUrlString();
48 $this->fileCache = new Cache($cacheKey, ".{$fetcher->getMime()->getExtension()}");
78 $requestedCache = $this->fetcher->getRequestedCache();
79 $maxAge = $this->fetcher->getCacheMaxAgeInSec($requestedCache);