getPredicateFunction() public method

public getPredicateFunction ( ) : ElementProjection
return Pinq\Queries\Functions\ElementProjection
Beispiel #1
0
 public function visitRemoveWhere(Operations\RemoveWhere $operation)
 {
     $this->compilation->append('Remove the elements according to: ');
     $this->compilation->appendFunction($operation->getPredicateFunction());
 }
Beispiel #2
0
 public function visitRemoveWhere(Operations\RemoveWhere $operation)
 {
     $this->collection->removeWhere($this->parameters[$operation->getPredicateFunction()->getCallableId()]);
 }
 public function visitRemoveWhere(Operations\RemoveWhere $operation)
 {
     return parent::visitRemoveWhere($operation->update($this->expressionProcessor->processFunction($operation->getPredicateFunction())));
 }