Answer the question
In order to leave comments, you need to log in
Is it safe in Laravel to use a class in controller method arguments to automatically detect the model?
Route::get('speakers/{speaker}', '[email protected]');
public function info(Request $request, Speaker $speaker)
{
...
}
Answer the question
In order to leave comments, you need to log in
In no case. The developers of the framework came up with this opportunity to hack sites and extort money.
PS. relax and work, study and understanding will come by itself. For understanding, look at this PDO thing called
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question