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
Datei anzeigen 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_oe property

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

$hidden protected_oe property

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

$rules public_oe property

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