Hi, I'm playing around with Symfony2 and think it might be the best web framework I have ever used ;)
Nevertheless I could not find a list with all configuration options that I could use. Maybe I have overseen something? As far as I have discovered in most cases the API documentation gives a good clue, since you have some neccessary and optional parameters for classes. For example for Symfony\Component\Routing\Route it's easy to see that you have to provide "pattern", because it is neccassary (and YamlRouteLoader throws an exception if it's not set). Also the "optional" attributes are given in the documentation. But the main part, that "defaults" stuff with "_controller" is not documented. So I went through all that code and piece by piece understood what the Container and Kernel and Router and whatever stuff does. Though I understand now how it works, at no point I have found anything documenting that stuff. So is there a configuration documentation I haven't found or is it just not documented yet? Also I'd like to know why that "defaults: { _controller: ... }" stuff is neccessary? As far as I can see it, those default variables are passed to the "attributes" field of the Request object and then interpreted by RequestListener (for example). Why not parse the option like "patterns" and do something like routename: { pattern: /, controller: ... } I hope someone can answer my questions, thanks in advance :) -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en