mark icon indicating copy to clipboard operation
mark copied to clipboard

Added support of nested groups for routing

Open vanodevium opened this issue 2 years ago • 0 comments

You can now safely create nested route groups

$api->group('/1', function ($api) {
    $api->get('/1', function () {
        return '1';
    });

    $api->group('/2', function ($api) {
        $api->get('/2', function () {
            return '2';
        });
    });
});

vanodevium avatar Jan 08 '23 20:01 vanodevium