Skip to content

Make the class easier for inheritance #8

@hwguyguy

Description

@hwguyguy

Currently, if I want to extend the Router class and modify the addRoute method, I have to copy the private properties and the private methods in the original class to my new class.

Can you change the private modifier to protected?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions