R
R
Romi2021-12-20 19:32:21
Laravel
Romi, 2021-12-20 19:32:21

Where can I read more about Request::create() and Route::dispatch()?

I came across this link in the code:

$request = Request::create('uri', 'POST');

return Route::dispatch($request);


it seems clear from the context what it is and what it does, but it was not found in the documentation.

moreover - even in docks on API did not find these methods.

mb I was looking in the wrong place, but ... in general, tell me please, where this topic is revealed more fully?

Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question