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
getDates
Eloquence\Behaviours\CamelCasing::getDates PHP 메소드
CamelCasing 2 문서
파일 보기
프로젝트 열기: kirkbushell/eloquence
getDates()
공개
메소드
Overloads the eloquent getDates method to ensure that date field declarations can be made in camelCase but mapped to/from DB in snake_case.
public
getDates
( ) :
array
리턴
array
public function getDates() { $dates = parent::getDates(); return array_map('snake_case', $dates); }
CamelCasing
__isset
__unset
attributesToArray
getAttribute
getAttributes
getDates
getHidden
getOriginal
getSnakeKey
getTrueKey
isCamelCase
relationsToArray
setAttribute
toCamelCase
toSnakeCase