JamesMoss\Flywheel\CachedQuery::getParameterHash PHP Method

getParameterHash() protected method

Generates a hash based on the parameters set in the query.
protected getParameterHash ( ) : string
return string A 128bit hash in hexadecimal format.
    protected function getParameterHash()
    {
        $parts = array($this->repo->getName(), serialize((array) $this->limit), serialize((array) $this->orderBy), serialize((array) $this->predicate));
        return md5(implode('|', $parts));
    }