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
relationsToArray
Eloquence\Behaviours\CamelCasing::relationsToArray PHP Method
CamelCasing Trait Documentation
Show file
Open project: kirkbushell/eloquence
relationsToArray()
public
method
Get the model's relationships, converting field casing if necessary.
public
relationsToArray
( ) :
array
return
array
public function relationsToArray() { return $this->toCamelCase(parent::relationsToArray()); }
CamelCasing
__isset
__unset
attributesToArray
getAttribute
getAttributes
getDates
getHidden
getOriginal
getSnakeKey
getTrueKey
isCamelCase
relationsToArray
setAttribute
toCamelCase
toSnakeCase