Author: Elliot Levin (elliotlevin@hotmail.com)
Inheritance: extends Operation
Example #1
0
 public function visitRemoveWhere(Operations\RemoveWhere $operation)
 {
     $this->compilation->append('Remove the elements according to: ');
     $this->compilation->appendFunction($operation->getPredicateFunction());
 }
Example #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())));
 }