/** * @param IFunction $function * * @return Functions\ElementProjection */ protected final function buildElementProjection(IFunction $function) { return $this->buildFunction($function, Functions\ElementProjection::factory()); }
/** * @return callable */ protected function functionFactory() { return Functions\ElementProjection::factory(); }
protected function buildOptionalProjection(IFunction $function = null) { if ($function === null) { return null; } return $this->buildFunction($function, Queries\Functions\ElementProjection::factory()); }
public function interpretRemoveWhere($operationId, IFunction $function) { $this->operation = new Operations\RemoveWhere($this->buildFunction($function, Functions\ElementProjection::factory())); }
public function interpretEqualityJoinFilter(IFunction $outerProjection, IFunction $innerProjection) { $this->joinFilter = new Join\Filter\Equality($this->buildFunction($outerProjection, Functions\ElementProjection::factory()), $this->buildFunction($innerProjection, Functions\ElementProjection::factory())); }