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