PHP Class Someline\Models\Foundation\User

Inheritance: extends Someline\Model\Foundation\User
Show file Open project: someline/someline-starter Class Usage Examples

Protected Properties

Property Type Description
$fillable array The attributes that are mass assignable.
$hidden array The attributes that should be hidden for arrays.

Public Methods

Method Description
onCreated ( ) Called when model is created Other events available are in BaseModelEvents

Method Details

onCreated() public method

Called when model is created Other events available are in BaseModelEvents
public onCreated ( )

Property Details

$fillable protected property

The attributes that are mass assignable.
protected array $fillable
return array

$hidden protected property

The attributes that should be hidden for arrays.
protected array $hidden
return array