PHP 클래스 Esensi\Model\Model

또한 보기: Illuminate\Database\Eloquent\Model
또한 보기: Esensi\Model\Contracts\EncryptingModelInterface
또한 보기: Esensi\Model\Contracts\HashingModelInterface
또한 보기: Esensi\Model\Contracts\JugglingModelInterface
또한 보기: Esensi\Model\Contracts\PurgingModelInterface
또한 보기: Esensi\Model\Contracts\RelatingModelInterface
또한 보기: Esensi\Model\Contracts\ValidatingModelInterface
또한 보기: Illuminate\Contracts\Support\MessageProvider
저자: Diego Caprioli ([email protected])
저자: Daniel LaBarge ([email protected])
상속: 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
파일 보기 프로젝트 열기: esensi/model 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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.

공개 메소드들

메소드 설명
__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.

메소드 상세

__get() 공개 메소드

Dynamically retrieve attributes.
public __get ( string $key ) : mixed
$key string
리턴 mixed

__set() 공개 메소드

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

getMessageBag() 공개 메소드

Get the messages for the instance.
public getMessageBag ( ) : Illuminate\Contracts\Support\MessageBag
리턴 Illuminate\Contracts\Support\MessageBag

프로퍼티 상세

$dates 보호되어 있는 프로퍼티

The attributes that should be mutated to dates.
protected array $dates
리턴 array

$encryptable 보호되어 있는 프로퍼티

The attributes to encrypt when set and decrypt when gotten.
protected array $encryptable
리턴 array

$hashable 보호되어 있는 프로퍼티

The attributes to hash before saving.
protected array $hashable
리턴 array

$jugglable 보호되어 있는 프로퍼티

Attributes to cast to a different type.
protected array $jugglable
리턴 array

$purgeable 보호되어 있는 프로퍼티

The attributes to purge before saving.
protected array $purgeable
리턴 array

$relationshipPivots 보호되어 있는 프로퍼티

Extra attributes to be added to pivot relationships.
protected array $relationshipPivots
리턴 array

$relationships 보호되어 있는 프로퍼티

Relationships that the model should set up.
protected array $relationships
리턴 array

$rules 보호되어 있는 프로퍼티

The default rules that the model will validate against.
protected array $rules
리턴 array

$rulesets 보호되어 있는 프로퍼티

The rulesets that the model will validate against.
사용 중단: watson/validating 0.10.9
protected array $rulesets
리턴 array