public function preUpdate($args) { $uow = $args->getDocumentManager()->getUnitOfWork(); $this->preUpdates++; }