Skip to main content

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

- It then instantiates the 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

By Michael Cristancho

I'm a Digital Commerce and Experience evangelist who enjoys engaging in thought-provoking conversation and mutual exploration. I am a strong believer that learning never ends, and each day brings another opportunity to grow as an individual and professional.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.