Skip to content

New interface for Route display in debugbar #113

@h4kuna

Description

@h4kuna

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy