Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Jenssegers
Model
Model
reguard
Jenssegers\Model\Model::reguard PHP Method
Model Class Documentation
Datei anzeigen
Open project: jenssegers/model
reguard()
public
static
method
Enable the mass assignment restrictions.
public
static
reguard
( ) :
void
return
void
public static function reguard() { static::$unguarded = false; }
Model
__callStatic
__construct
__get
__isset
__set
__toString
__unset
addHidden
addVisible
asJson
attributesToArray
cacheMutatedAttributes
castAttribute
fill
fillable
fillableFromArray
forceFill
fromJson
getArrayableAppends
getArrayableAttributes
getArrayableItems
getAttribute
getAttributeFromArray
getAttributeValue
getAttributes
getCastType
getFillable
getGuarded
getHidden
getMutatedAttributes
getVisible
guard
hasCast
hasGetMutator
hasSetMutator
hydrate
isFillable
isGuarded
isJsonCastable
isUnguarded
jsonSerialize
mutateAttribute
mutateAttributeForArray
newInstance
offsetExists
offsetGet
offsetSet
offsetUnset
reguard
replicate
setAppends
setAttribute
setHidden
setVisible
toArray
toJson
totallyGuarded
unguard
unguarded
withHidden