PHP Class BookStack\Ownable

Inheritance: extends Model
显示文件 Open project: ssddanbrown/bookstack Class Usage Examples

Public Methods

Method Description
createdBy ( ) : BelongsTo Relation for the user that created this entity.
getClassName ( ) : string Gets the class name.
updatedBy ( ) : BelongsTo Relation for the user that updated this entity.

Method Details

createdBy() public method

Relation for the user that created this entity.
public createdBy ( ) : BelongsTo
return Illuminate\Database\Eloquent\Relations\BelongsTo

getClassName() public static method

Gets the class name.
public static getClassName ( ) : string
return string

updatedBy() public method

Relation for the user that updated this entity.
public updatedBy ( ) : BelongsTo
return Illuminate\Database\Eloquent\Relations\BelongsTo