Answer the question
In order to leave comments, you need to log in
How do variables get into the controller?
For example, there is a method in the controller:
public function foo(Request $request){
$file = $request->file();
.......
}
Answer the question
In order to leave comments, you need to log in
Google Dependency Injection and Inversion of Control, read the Laravel documentation (you won’t believe it is there!) and Diving Laravel , study the framework code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question