{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/19340","repository_url":"https://api.github.com/repos/symfony/symfony","labels_url":"https://api.github.com/repos/symfony/symfony/issues/19340/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/19340/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/19340/events","html_url":"https://github.com/symfony/symfony/issues/19340","id":164918524,"number":19340,"title":"Support ControllerNameParser Extension","user":{"login":"coryjamesfisher","id":1129482,"avatar_url":"https://avatars.githubusercontent.com/u/1129482?v=3","gravatar_id":"","url":"https://api.github.com/users/coryjamesfisher","html_url":"https://github.com/coryjamesfisher","followers_url":"https://api.github.com/users/coryjamesfisher/followers","following_url":"https://api.github.com/users/coryjamesfisher/following{/other_user}","gists_url":"https://api.github.com/users/coryjamesfisher/gists{/gist_id}","starred_url":"https://api.github.com/users/coryjamesfisher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coryjamesfisher/subscriptions","organizations_url":"https://api.github.com/users/coryjamesfisher/orgs","repos_url":"https://api.github.com/users/coryjamesfisher/repos","events_url":"https://api.github.com/users/coryjamesfisher/events{/privacy}","received_events_url":"https://api.github.com/users/coryjamesfisher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-11T19:46:53Z","updated_at":"2016-07-11T21:28:27Z","closed_at":null,"body":"When migrating from a custom MVC framework to Symfony there is a challenge in that the controller & action postfixes in the Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerNameParser class are hard coded to 'Controller' and 'Action' respectively. I would like to modify these to be static members of the class so that they can be overridden. This would allow easier migration from homebrewed MVCs that use different URL -> Controller+Action routing patterns."},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/231871011","html_url":"https://github.com/symfony/symfony/issues/19340#issuecomment-231871011","issue_url":"https://api.github.com/repos/symfony/symfony/issues/19340","id":231871011,"user":{"login":"WouterJ","id":749025,"avatar_url":"https://avatars.githubusercontent.com/u/749025?v=3","gravatar_id":"","url":"https://api.github.com/users/WouterJ","html_url":"https://github.com/WouterJ","followers_url":"https://api.github.com/users/WouterJ/followers","following_url":"https://api.github.com/users/WouterJ/following{/other_user}","gists_url":"https://api.github.com/users/WouterJ/gists{/gist_id}","starred_url":"https://api.github.com/users/WouterJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WouterJ/subscriptions","organizations_url":"https://api.github.com/users/WouterJ/orgs","repos_url":"https://api.github.com/users/WouterJ/repos","events_url":"https://api.github.com/users/WouterJ/events{/privacy}","received_events_url":"https://api.github.com/users/WouterJ/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T21:28:27Z","updated_at":"2016-07-11T21:28:27Z","body":"You can just use the FQCN + method name in your routing:\r\n\r\n```yaml\r\nhomepage:\r\n    path: /\r\n    defaults: { _controller: AppBundle\\Controller\\Static::homeController }\r\n```"}}
{"actor":{"display_login":"WouterJ"}}