When obtaining the routes I obtain them in the following way through the library:
users/read
users/read/by-id
Having written a route of the form $router->get('/', fn() => null) you should get a route like 'users/read/' but not a 'users/read' route, this is an error mine?
I have grouped routes in such a way that the groups should look like this based on the string that I am writing:
When obtaining the routes I obtain them in the following way through the library:
Having written a route of the form $router->get('/', fn() => null) you should get a route like 'users/read/' but not a 'users/read' route, this is an error mine?