Internship
Tuesday, 19 December 2017
Dump & Die (Reading an Array)
dd
(
$request
);
or
dd
(
User
::
all
());
or
dd
(
$users
->
toArray
());
or
dd
(
User
::
all
()->
toArray
());
or you can then dump it into your blade template
{{
dd
(
$users
)
}}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment