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
Eloquence
Behaviours
CamelCasing
__unset
Eloquence\Behaviours\CamelCasing::__unset PHP Method
CamelCasing Trait Documentation
Datei anzeigen
Open project: kirkbushell/eloquence
__unset()
public
method
Because we are changing the case of keys and want to use camelCase throughout the application, whenever we do unset variables we need to ensure that we unset using snake_case.
public
__unset
(
$key
) :
void
$key
return
void
public function __unset($key) { return parent::__unset($this->getSnakeKey($key)); }
CamelCasing
__isset
__unset
attributesToArray
getAttribute
getAttributes
getDates
getHidden
getOriginal
getSnakeKey
getTrueKey
isCamelCase
relationsToArray
setAttribute
toCamelCase
toSnakeCase