How can I break to a new line using laravel tinker?
So instead of:
$users = User::all(); foreach($users as $user) {echo $user->email;}
I want to be able to write it as follows:
$users = User::all();
foreach($users as $user) {
echo $user->email;
}
Is it possible?
{
changes the terminal from>>>
to...
and only executes the block when I put in a}
so... yes it works. You really should try these things out first. That's the whole point of tinkering – Sericeous...
– Sea{
at first and then hit Enter. I searched about this before posting my question but didn't find any info... Thank you. – Sea