Laravel • Digging Deeper • Artisan Console
When displaying a table in an Artisan command, Laravel will automatically calculate the appropriate width and height of the table for you.
100 Remaining
$this->table(
['Name', 'Email'],
User::all(['name', 'email'])->toArray()
);
Tip: Documentation links and some explanations will appear when you complete the quiz.
Permalink: https://rappasoft.com/quizzes/laravel/541f2399-f5c3-43f9-a4de-0d7026b53141/random
Find this useful? Consider sponsoring me on GitHub
You can also get here with laravel-quizzes.com