laravel/laravel — Issue #346: [Enhancement] Core class extension affecting core
Author: kbanman
Created: 2012-02-17 22:56:01+00:00
State: open

Extending core classes for application code is awesomely easy in Laravel, but I can't figure out a good way to make laravel use those subclasses for its core code.

For example, I just had to make a small change to the URI class (set `REQUEST_URI` to be preferred over `PATH_INFO`), but of course it didn't work to change the way requests are routed because the URI class is called from within the Laravel namespace, oblivious to my subclass.

I think making this possible would make the framework soooo much more powerful.