-
-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Description
If I want create new Route and display values in debug bar, i must extend Route class. What do you think about new interface with two methods?
interface IRouteMeta {
public funciton getDefaults();
public function getMask();
}
Class route must edit.
class Route implements IRoute, IRouteMeta {}
And I will use like this
class MyRoute implements IRoute, IRouteMeta {}
instance of
class MyRoute extends Route {}
RoutingPanel will change condition to new interface.
Or append both methods to IRoute interface?
Edit
Renamed IRouteBar -> IRouteMeta
Metadata
Metadata
Assignees
Labels
No labels