Created
January 13, 2019 16:44
-
-
Save winni4eva/eb16d99867c6019324a98de519faabd2 to your computer and use it in GitHub Desktop.
User Query
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$router->get('/users/{id}', function($id){ | |
$user = App\User::findOrFail($id); | |
dd($user); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment