Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

forward in Micro app

Can I use a $dispatcher->forward in mirco application?



82.7k
Accepted
answer

No, a Micro application lacks of an internal dispatcher, you can use a HTTP redirection if you want to redirect a user to another action in your application:

http://docs.phalconphp.com/en/latest/reference/micro.html#making-redirections