Reset locator cache.

@param string $uri
@return $this
339076
public function clearCache($uri = null)
    {
        if ($uri) {
            $this->clearCached($uri, true, true, true);
            $this->clearCached($uri, true, true, false);
            $this->clearCached($uri, true, false, true);
            $this->clearCached($uri, true, false, false);
            $this->clearCached($uri, false, true, true);
            $this->clearCached($uri, false, true, false);
            $this->clearCached($uri, false, false, true);
            $this->clearCached($uri, false, false, false);
        } else {
            $this->cache = [];
        }

        return $this;
    }
672246
public function resetCache() {
		// only reset caches if cache link is present
		if (!empty($this->db_object->object->options['cache_link'])) {
			$tags = array_unique($this->cache_tags);
			sort($tags, SORT_STRING);
			$hash = sha1(serialize($tags));
			\Cache::$reset_caches[$this->db_object->object->options['cache_link']][$hash] = $tags;
		}
	}
303258
public function reset()
    {
        $this->getRepository()->getSpace()->setEntityState($this, AnDomain::STATE_CLEAN);
        $this->_modified = array();

        return $this;
    }
732825
public function head($uri)
	{
		$ch = $this->initializeRequest();

		curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'HEAD');
		curl_setopt($ch, CURLOPT_URL, $uri);
		curl_setopt($ch, CURLOPT_NOBODY, true);
		curl_exec($ch);

		$this->checkResponse($ch);

		curl_close($ch);

		return $this;
	}
248927
public function forget($uris): self
    {
        $uris = is_array($uris) ? $uris : func_get_args();

        collect($uris)->each(function ($uri) {
            $request = Request::create($uri);
            $hash = $this->hasher->getHashFor($request);

            if ($this->cache->has($hash)) {
                $this->cache->forget($hash);
            }
        });

        return $this;
    }
574882
public function reset()
	{
		unset($this->_registry);
		unset($this->_mixin);
		unset($this->_errorHandler);
		unset($this->_errorContext);
		unset($this->_middleware);
		return $this;
	}
1078502
protected function patch($uri, array $data)
    {
        $this->call('PATCH', $uri, $data, $this->cookies, [], $this->headers);

        return $this;
    }
1319781
public function visit($uri)
    {
        $this->currentPage = $this->prepareUrl($uri);

        $this->makeRequest('GET', $this->currentPage);

        return $this;
    }
269858
public static function notFound(string $uri, string $protocol = Protocol::HTTP): self
    {
        return new static(sprintf('Not Found: %s', $uri), $protocol, 404);
    }
246711
public static function resetCache()
    {
        if (Cache::has('combiner.index')) {
            $index = (array) @unserialize(@base64_decode(Cache::get('combiner.index'))) ?: [];

            foreach ($index as $cacheKey) {
                Cache::forget($cacheKey);
            }

            Cache::forget('combiner.index');
        }

        CacheHelper::instance()->clearCombiner();
    }
558004
public function reset()
    {
        $this->url = '';
        $this->parameters = [];
        $this->headers = [];
        $this->options = [];

        return $this;
    }
309160
public function reset()
    {
        $this->itemsPerPage = null;
        $this->currentPage = null;
        $this->totalAmount = null;
        $this->url = null;

        return $this;
    }
890082
public function clearCache()
    {
        if (isset($this->fileDataCache) && !empty($this->fileDataCache)) {
            $this->fileDataCache = null;
        }

        return $this;
    }
944360
public function setUri( $uri )
    {
        $uri = (string) $uri;

        if ( empty( $uri ) )
        {
            $uri = '#';
        }
        else if ( ! preg_match( '(^(' . static::VALID_SCHEMES . '))', $uri ) )
        {
            if ( preg_match( '(^[a-z0-9-]+(\.[a-z0-9-]+)+(/.*)?$)', $uri ) )
            {
                $uri = static::DEFAULT_SCHEME . $uri;
            }
            else
            {
                $uri = '/' . ltrim( $uri, '/' );
            }
        }

        $this->uri = $uri;
        return $this;
    }
139441
protected function rewriteRelative($uri)
    {
        $path = strtr($this->assetDirectory, '/', DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.strtr($uri, '/', DIRECTORY_SEPARATOR);

        foreach ($this->symlinks as $link => $target)
        {
            if (strpos($path, $target) === 0)
            {
                $path = $link.substr($path, strlen($target));

                break;
            }
        }

        // Strip the document root from the path.
        $path = substr($path, strlen($this->documentRoot));

        $uri = strtr($path, '/\\', '//');
        $uri = $this->removeDots($uri);

        return $uri;
    }
565300
public function setResetParams($resetParams)
        {
            $this->_resetParams = (bool) $resetParams;
            $this->_hrefCache   = null;

            return $this;
        }
1266960
public function reset()
	{
		$this->uri 		   = null;
		$this->method 	   = self::GET;
		$this->headers 	   = array();
		$this->paramsGet   = array();
		$this->paramsPost  = array();
		$this->useRawData  = false;
		$this->dataRaw 	   = null;
		$this->httpVersion = self::HTTP_1;
		$this->curlOpts    = array();
		
		return $this;
	}