Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Eloquence
Behaviours
CamelCasing
__unset
Eloquence\Behaviours\CamelCasing::__unset PHP Метод
Документация по трейту CamelCasing
Показать файл
Открыть проект
__unset()
публичный
Метод
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
Результат
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