Skip to content

[FrameworkBundle] The resource type of the default router is not overridable #11018

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lavoiesl opened this issue May 30, 2014 · 2 comments
Closed

Comments

@lavoiesl
Copy link
Contributor

It is possible to change the router.resource parameter, but the resource type option is unavailable, making it impossible to override it without manipulating the Service Definition. If the resource file is changeable, I believe the resource type should be as well.

Service definition:

Compiler pass:

$router = $container->findDefinition('router.default');

Reverse issue : symfony/AsseticBundle#289

@xabbuh xabbuh closed this as completed Jun 17, 2015
@xabbuh
Copy link
Member

xabbuh commented Jun 17, 2015

Closing as this is no bug as explained by @wouterj.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants