Hello,
I am having diccifulty with this little issue. So I am trying to match a complet route. It could be
/a/b/c/d/e/f/g
or
/a/b/c/d/e/f/g/h/i/j
Long story short, it can be very long or very short. I saw that you could do
$coll = new MicroCollection();
$login->setHandler('CollController', true);
$coll->get('/{a}/?{b}/?{c}', 'func');
$app->mount($coll);
And this will match
/a
/a/b
/a/b/c
but not /a/b/c/d
I would have to manually extend the route and handle all those variables. I was able to find /:params but when I attached that onto the route, like below, it did not work.
$coll->get('/{a}/:params', 'func');
Any help is much apprecitated!