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