TreeRoute
TreeRoute copied to clipboard
Make the class easier for inheritance
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?