laravel/framework — pull request #3027 by awellis13 (2013-12-24 02:48:07+00:00)
Title: Add Route::setUri()

Currently there is no setter method for `Route::$uri`. This is useful during scenarios where you are cloning the current `Route` object and need to make a modification.

This is something that is done in the current cartalyst/api package, but I'm not sure if this change will help them migrate the package to 4.1 any quicker or not.

For now I have a hacked implementation of this package, but I had to extend `Route` and `Router` just so I can have `setUri()` available.

Cheers,
Andrew