/** * 論理削除を行います。 * * @param AbstractEntityDB $entity */ public function delete(AbstractEntityDB $entity) { $entity->setDeleted(AbstractEntityDB::DELETED_TRUE); $this->merge($entity); }
public function doPrePersist() { parent::doPrePersist(); if (is_null($this->found)) { $this->found = parent::getNow(); } }
public function doPrePersist() { parent::doPrePersist(); $this->crawl = self::CRAWL_FALSE; }