Пример #1
0
 /**
  * @inheritdoc
  */
 public function persist($document)
 {
     if (!is_object($document)) {
         throw new \InvalidArgumentException(gettype($document));
     }
     $this->uow->persist($document);
 }