Автор: Elliot Levin (elliotlevin@hotmail.com)
Наследование: extends Operation
Пример #1
0
 public function visitRemoveWhere(Operations\RemoveWhere $operation)
 {
     $this->compilation->append('Remove the elements according to: ');
     $this->compilation->appendFunction($operation->getPredicateFunction());
 }
Пример #2
0
 public function visitRemoveWhere(Operations\RemoveWhere $operation)
 {
     $this->collection->removeWhere($this->parameters[$operation->getPredicateFunction()->getCallableId()]);
 }
Пример #3
0
 public function visitRemoveWhere(Operations\RemoveWhere $operation)
 {
     return parent::visitRemoveWhere($operation->update($this->expressionProcessor->processFunction($operation->getPredicateFunction())));
 }