Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Eloquence
Behaviours
CamelCasing
__isset
Eloquence\Behaviours\CamelCasing::__isset PHP Method
CamelCasing Trait Documentation
Show file
Open project: kirkbushell/eloquence
__isset()
public
method
Because we are changing the case of keys and want to use camelCase throughout the application, whenever we do isset checks we need to ensure that we check using snake_case.
public
__isset
(
$key
) :
mixed
$key
return
mixed
public function __isset($key) { return parent::__isset($this->getSnakeKey($key)); }
CamelCasing
__isset
__unset
attributesToArray
getAttribute
getAttributes
getDates
getHidden
getOriginal
getSnakeKey
getTrueKey
isCamelCase
relationsToArray
setAttribute
toCamelCase
toSnakeCase