Hey guys!
Maybe I'm wrong from the beginning but I have such an idea: I want to organize private parameters from controller. For example let say we have controller ErrorController with action errorAction. And when any error is occured we forwarding user to "error" controller and "error" action with some arguments that will say user what's wrong.
If I define action as: public function errorAction($code, $text) then any user who nows this route (supposing it should be /error/error/code/text) can do any ugly things.
How to act is this case? Rewrite router rule or something else? Hope you caught my idea. Thanks!