/** * Refresh a path or URL * * @param string $path Path or URL * @param array $headers HTTP headers (optional) * * @see RefreshInterface::refresh() * * @throws UnsupportedProxyOperationException * * @return $this */ public function refreshPath($path, array $headers = []) { if (!$this->cache instanceof RefreshInterface) { throw UnsupportedProxyOperationException::cacheDoesNotImplement('REFRESH'); } $this->cache->refresh($path, $headers); return $this; }