Skip to content

Conversation

@kamilsmtv
Copy link

Example:

$router->mount('/api/v1', function () use ($router) {
    $router->setNamespace('Source\Api\v1');
    $router->mount('/test', function () use ($router) {
        $router->setNamespace('Source\Api\v1\Test');
    });
});

@kamilsmtv kamilsmtv mentioned this pull request Aug 5, 2021
@uvulpos
Copy link
Collaborator

uvulpos commented Aug 5, 2021

LGTM if it works (did not test that yet), but please add some unit tests 😉 that would be icing on the cake 👍🏻

@kamilsmtv
Copy link
Author

LGTM if it works (did not test that yet), but please add some unit tests 😉 that would be icing on the cake 👍🏻

75d5c6e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants