/** * @inheritdoc */ public function persist($document) { if (!is_object($document)) { throw new \InvalidArgumentException(gettype($document)); } $this->uow->persist($document); }
/** * @inheritdoc */ public function persist($document) { if (!is_object($document)) { throw new \InvalidArgumentException(gettype($document)); } $this->uow->persist($document); }