Toggle navigation
Hot Examples
KO
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 2 문서
파일 보기
프로젝트 열기: kirkbushell/eloquence
__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