DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
Eloquent cast date
protected
$casts
=
[
'created_at'
=>
'datetime:Y-m-d'
,
]
;
PREVIOUS
NEXT
Tagged:
#Eloquent
#cast
#date
ADD COMMENT
Topic
COMMENT
Name
6+1 =
Submit