After a matching action controller is found, what steps occur before the action method is executed?

Q. After a matching action controller is found, what steps occur before the action method is executed?

– It then instantiates controller class; then sets module name, controller name, action name, controller module name & parameters.
Finally it calls:
$request->setDispatched(true);
$controllerInstance->dispatch($action);

to dispatch the request

 

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Search