public function evaluate(IResolvedParameterRegistry $parameters, &$hash) { $value = $this->doEvaluate($parameters); $hash = $this->parameterHasher->hash($value); return $value; }