public function __construct(array $parameters, Queries\IResolvedParameterRegistry $resolvedParameters)
{
parent::__construct($parameters);
$this->resolvedParameters = $resolvedParameters;
$this->resolvedValues = new \SplObjectStorage();
foreach ($this->parameters as $parameter) {
$value = $parameter->evaluate($this->resolvedParameters, $hash);
$this->resolvedValues[$parameter] = $value;
$this->resolvedValuesArray[] = $value;
$this->hashes[] = $hash;
}
}