I have a few routes that takes a couple of UUIDs as parameters:
Route::get(\'/foo/{uuid1}/{uuid2}\', \'Controller@action\');
I want to be a
There's no built in way to handle this, and I actually think the solution you found is pretty nice. Maybe a bit more elegant would be this:
Route::patterns(array_fill_keys(['uuid1', 'uuid2'], '/uuid regex/'));