getDeletedAtColumn() 공개 메소드

Get the name of the "deleted at" column.
public getDeletedAtColumn ( ) : string
리턴 string
예제 #1
0
파일: Builder.php 프로젝트: navruzm/lmongo
 /**
  * Restore the soft-deleted model instances.
  *
  * @return int
  */
 public function restore()
 {
     if ($this->model->isSoftDeleting()) {
         $column = $this->model->getDeletedAtColumn();
         return $this->update(array($column => null));
     }
 }