Skip to content
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

having different routes in class cascade #3

Open
digitalkaoz opened this issue Sep 15, 2015 · 1 comment · Fixed by webfactory/object-routing#1 · May be fixed by #11
Open

having different routes in class cascade #3

digitalkaoz opened this issue Sep 15, 2015 · 1 comment · Fixed by webfactory/object-routing#1 · May be fixed by #11

Comments

@digitalkaoz
Copy link

imagine this:

<?php

/** @ObjectRoute(type="view", "name" => "foo_route") */
class Foo{}

/** @ObjectRoute(type="view", "name" => "bar_route") */
class Bar extends Foo{}

if i resolve the ObjectRoute of objet_url('view', new Bar() i always get the foo_route... The MetaFactory seems to merge/override it :(

@mpdude
Copy link

mpdude commented Sep 28, 2020

webfactory#1 probably fixes this.

@mpdude mpdude linked a pull request Apr 12, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants