Created
January 13, 2019 17:00
-
-
Save winni4eva/8e9cd0a2fb5bb58c54b56ced9755bf07 to your computer and use it in GitHub Desktop.
Implicit Route Model Binding
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/{user}', function(App\User $user){ | |
dd($user); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment