Property | Type | Description | |
---|---|---|---|
$dates | array | The attributes that should be mutated to dates. | |
$encryptable | array | The attributes to encrypt when set and decrypt when gotten. | |
$hashable | array | The attributes to hash before saving. | |
$jugglable | array | Attributes to cast to a different type. | |
$purgeable | array | The attributes to purge before saving. | |
$relationshipPivots | array | Extra attributes to be added to pivot relationships. | |
$relationships | array | Relationships that the model should set up. | |
$rules | array | The default rules that the model will validate against. | |
$rulesets | array | The rulesets that the model will validate against. |
Method | Description | |
---|---|---|
__get ( string $key ) : mixed | Dynamically retrieve attributes. | |
__set ( string $key, mixed $value ) | Dynamically set attributes. | |
getMessageBag ( ) : Illuminate\Contracts\Support\MessageBag | Get the messages for the instance. |
public getMessageBag ( ) : Illuminate\Contracts\Support\MessageBag | ||
return | Illuminate\Contracts\Support\MessageBag |
protected array $dates | ||
return | array |
protected array $encryptable | ||
return | array |
protected array $hashable | ||
return | array |
protected array $jugglable | ||
return | array |
protected array $purgeable | ||
return | array |
protected array $relationshipPivots | ||
return | array |
protected array $relationships | ||
return | array |
protected array $rules | ||
return | array |
protected array $rulesets | ||
return | array |