laravel/laravel — pull request #2245 by kirkbushell (2013-08-12 08:42:01+00:00)
Title: Fixes on Laravel 3 for overloading controller + PHP 5.5 compatibility

PHP 5.5 breaks L3 completely. With the implementation of the yield method, L3's templating falls over. This PR is to propose that yield().etc. be renamed to output(), same for the Section class' methods.

Additionally, for some reason an earlier commit and PR was lost, specifically - that pertaining to ensuring the Controller class in Laravel's core library is called from the root namespace. Even if you aliased it in your application.aliases - your custom controller class would never get loaded by the Route class, because it has its own Controller class in its own namespace.