LMongo\Eloquent\Model::getCreatedAtColumn PHP 메소드

getCreatedAtColumn() 공개 메소드

Get the name of the "created at" column.
public getCreatedAtColumn ( ) : string
리턴 string
    public function getCreatedAtColumn()
    {
        return static::CREATED_AT;
    }

Usage Example

예제 #1
0
파일: Relation.php 프로젝트: navruzm/lmongo
 /**
  * Get the name of the "created at" column.
  *
  * @return string
  */
 public function createdAt()
 {
     return $this->parent->getCreatedAtColumn();
 }
Model