public function findAndRemove() { $this->query['type'] = Query::TYPE_FIND_AND_REMOVE; return $this; }
/** * @param string $documentName * @return Builder */ public function findAndRemove($documentName = null) { $this->setDocumentName($documentName); parent::findAndRemove(); return $this; }