public static evaluate ( Pinq\Queries\IScope $scope, Pinq\Queries\IResolvedParameterRegistry $resolvedParameters ) | ||
$scope | Pinq\Queries\IScope | |
$resolvedParameters | Pinq\Queries\IResolvedParameterRegistry |
public function evaluateScope(Queries\IScope $scope, Queries\IResolvedParameterRegistry $resolvedParameters) { $scopeHash = $this->scopeHash($scope, $resolvedParameters); if (!isset($this->traversableCache[$scopeHash])) { $this->traversableCache[$scopeHash] = ScopeEvaluator::evaluate($scope, $resolvedParameters); } return $this->traversableCache[$scopeHash]; }