Skip to content

Instantly share code, notes, and snippets.

@tournasdim
Created June 29, 2013 07:03
Show Gist options
  • Save tournasdim/5890179 to your computer and use it in GitHub Desktop.
Save tournasdim/5890179 to your computer and use it in GitHub Desktop.
A quick callback to return the Root-Class of a Facade in Laravel 4
Route::get('facade' , function()
{
return get_class(App::getFacadeRoot()) ;
}) ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment