Complete the code to start Laravel Tinker from the command line.
php artisan [1]Use php artisan tinker to open the interactive Tinker shell for Laravel.
Complete the code to retrieve all records from the User model in Tinker.
App\Models\User::[1]();The all() method fetches all records from the User model.
Fix the error in the code to find a user by ID 5 in Tinker.
App\Models\User::[1](5);
The find() method retrieves a record by its primary key, here ID 5.
Fill both blanks to create a new user with name 'Alice' and save it in Tinker.
$user = new App\Models\User(); $user->name = '[1]'; $user->[2]();
Assign the name 'Alice' and call save() to store the new user.
Fill all three blanks to update the email of user with ID 3 to 'new@example.com' in Tinker.
$user = App\Models\User::[1](3); $user->[2] = '[3]'; $user->save();
Find user ID 3, set the email property, then save the changes.
