GuardsAttributes

Illuminate\Database\Eloquent\Concerns\GuardsAttributes

trait src/Illuminate/Database/Eloquent/Concerns/GuardsAttributes.php

fillable

v11.0.0 以前から

fillable(array $fillable)
@param array<string> $fillable
@return $this
  1. v11.0.0 追加
    変更後
    fillable(array $fillable) [@param array<string> $fillable, @return $this]

getFillable

v11.0.0 以前から

getFillable()
@return array<string>
  1. v11.0.0 追加
    変更後
    getFillable() [@return array<string>]

getGuarded

v11.0.0 以前から

getGuarded()
@return array<string>
  1. v11.0.0 追加
    変更後
    getGuarded() [@return array<string>]

guard

v11.0.0 以前から

guard(array $guarded)
@param array<string> $guarded
@return $this
  1. v11.0.0 追加
    変更後
    guard(array $guarded) [@param array<string> $guarded, @return $this]

initializeGuardsAttributes

v13.0.0 から

initializeGuardsAttributes()
@return void
  1. v13.0.0 追加
    変更後
    initializeGuardsAttributes() [@return void]

isFillable

v11.0.0 以前から

isFillable($key)
@param string $key
@return bool
  1. v11.0.0 追加
    変更後
    isFillable($key) [@param string $key, @return bool]

isGuarded

v11.0.0 以前から

isGuarded($key)
@param string $key
@return bool
  1. v11.0.0 追加
    変更後
    isGuarded($key) [@param string $key, @return bool]

isUnguarded

v11.0.0 以前から

static

static isUnguarded()
@return bool
  1. v11.0.0 追加
    変更後
    static isUnguarded() [@return bool]

mergeFillable

v11.0.0 以前から

mergeFillable(array $fillable)
@param array<string> $fillable
@return $this
  1. v11.0.0 追加
    変更後
    mergeFillable(array $fillable) [@param array<string> $fillable, @return $this]

mergeGuarded

v11.0.0 以前から

mergeGuarded(array $guarded)
@param array<string> $guarded
@return $this
  1. v11.0.0 追加
    変更後
    mergeGuarded(array $guarded) [@param array<string> $guarded, @return $this]

reguard

v11.0.0 以前から

static

static reguard()
@return void
  1. v11.0.0 追加
    変更後
    static reguard() [@return void]

totallyGuarded

v11.0.0 以前から

totallyGuarded()
@return bool
  1. v11.0.0 追加
    変更後
    totallyGuarded() [@return bool]

unguard

v11.0.0 以前から

static

static unguard($state = true)
@param bool $state
@return void
  1. v11.0.0 追加
    変更後
    static unguard($state = true) [@param bool $state, @return void]

unguarded

v11.0.0 以前から

static

static unguarded(callable $callback)
@param callable(): TReturn $callback
@return TReturn
  1. v11.0.0 追加
    変更後
    static unguarded(callable $callback) [@param callable $callback, @return mixed]
  2. v12.18.0 シグネチャ変更
    変更前
    static unguarded(callable $callback) [@param callable $callback, @return mixed]
    変更後
    static unguarded(callable $callback) [@param callable(): TReturn $callback, @return TReturn]