Home » Php » php – Route::get('/posts/{post}', function ($post) { return $post; }); what the function here do

php – Route::get('/posts/{post}', function ($post) { return $post; }); what the function here do

Posted by: admin February 25, 2020 Leave a comment

Questions:

I just need to figure what the function will do beyond the scene i mean that i understand the whole code but i want to figure out the process of the compiler in this case.

Route::get(‘/posts/{post}’, function ($post) {

return $post;

How to&Answers: