PHP Class Esensi\Model\Model

See also: Illuminate\Database\Eloquent\Model
See also: Esensi\Model\Contracts\EncryptingModelInterface
See also: Esensi\Model\Contracts\HashingModelInterface
See also: Esensi\Model\Contracts\JugglingModelInterface
See also: Esensi\Model\Contracts\PurgingModelInterface
See also: Esensi\Model\Contracts\RelatingModelInterface
See also: Esensi\Model\Contracts\ValidatingModelInterface
See also: Illuminate\Contracts\Support\MessageProvider
Author: Diego Caprioli ([email protected])
Author: Daniel LaBarge ([email protected])
Inheritance: extends Illuminate\Database\Eloquent\Model, implements Esensi\Model\Contracts\EncryptingModelInterface, implements Esensi\Model\Contracts\HashingModelInterface, implements Esensi\Model\Contracts\JugglingModelInterface, implements Illuminate\Contracts\Support\MessageProvider, implements Esensi\Model\Contracts\PurgingModelInterface, implements Esensi\Model\Contracts\RelatingModelInterface, implements Esensi\Model\Contracts\ValidatingModelInterface, use trait Esensi\Model\Traits\ValidatingModelTrait, use trait Esensi\Model\Traits\EncryptingModelTrait, use trait Esensi\Model\Traits\HashingModelTrait, use trait Esensi\Model\Traits\JugglingModelTrait, use trait Esensi\Model\Traits\PurgingModelTrait, use trait Esensi\Model\Traits\RelatingModelTrait
Afficher le fichier Open project: esensi/model Class Usage Examples

Protected Properties

Свойство 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.

Méthodes publiques

Méthode 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.

Method Details

__get() public méthode

Dynamically retrieve attributes.
public __get ( string $key ) : mixed
$key string
Résultat mixed

__set() public méthode

Dynamically set attributes.
public __set ( string $key, mixed $value )
$key string
$value mixed

getMessageBag() public méthode

Get the messages for the instance.
public getMessageBag ( ) : Illuminate\Contracts\Support\MessageBag
Résultat Illuminate\Contracts\Support\MessageBag

Property Details

$dates protected_oe property

The attributes that should be mutated to dates.
protected array $dates
Résultat array

$encryptable protected_oe property

The attributes to encrypt when set and decrypt when gotten.
protected array $encryptable
Résultat array

$hashable protected_oe property

The attributes to hash before saving.
protected array $hashable
Résultat array

$jugglable protected_oe property

Attributes to cast to a different type.
protected array $jugglable
Résultat array

$purgeable protected_oe property

The attributes to purge before saving.
protected array $purgeable
Résultat array

$relationshipPivots protected_oe property

Extra attributes to be added to pivot relationships.
protected array $relationshipPivots
Résultat array

$relationships protected_oe property

Relationships that the model should set up.
protected array $relationships
Résultat array

$rules protected_oe property

The default rules that the model will validate against.
protected array $rules
Résultat array

$rulesets protected_oe property

The rulesets that the model will validate against.
Deprecation: watson/validating 0.10.9
protected array $rulesets
Résultat array