protected final function resolveParametersFrom(IQueryResolver $resolver) { $this->hash .= $resolver->getHash(); foreach ($resolver->getResolvedParameters() as $name => $value) { $this->resolveParameter($name, $value); } }
protected function buildResolvedQuery(Interpretations\IScopeResolver $scopeResolver, Interpretations\IQueryResolver $queryResolver) { return new Queries\ResolvedQuery($scopeResolver->getQueryable(), $scopeResolver->getResolvedParameters() + $queryResolver->getResolvedParameters(), md5($scopeResolver->getHash() . '#' . $queryResolver->getHash())); }