PHP Class Gitamin\Models\User

Inheritance: extends Illuminate\Database\Eloquent\Model, implements Illuminate\Contracts\Auth\Authenticatable, implements Illuminate\Contracts\Auth\CanResetPassword, implements McCool\LaravelAutoPresenter\HasPresenter, use trait Illuminate\Auth\Authenticatable, use trait Illuminate\Auth\Passwords\CanResetPassword, use trait AltThree\Validator\ValidatingTrait
Show file Open project: gitaminhq/gitamin Class Usage Examples

Public Properties

Property Type Description
$rules string[] The validation rules.

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
getAvatarAttribute ( )
getAvatarSmallAttribute ( )
getPresenterClass ( ) : string Get the presenter class.

Method Details

getAvatarAttribute() public method

public getAvatarAttribute ( )

getAvatarSmallAttribute() public method

getPresenterClass() public method

Get the presenter class.
public getPresenterClass ( ) : string
return string

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

$rules public property

The validation rules.
public string[] $rules
return string[]