Open digitalkaoz opened 9 years ago
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 :(
objet_url('view', new Bar()
foo_route
https://github.com/webfactory/object-routing/pull/1 probably fixes this.
imagine this:
if i resolve the ObjectRoute of
objet_url('view', new Bar()
i always get thefoo_route
... The MetaFactory seems to merge/override it :(