Renaming folders.

This commit is contained in:
Taylor Otwell
2014-08-18 23:42:49 -05:00
parent 79bcb450dd
commit 3ffbb5d6ba
18 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<?php namespace Providers;
use Illuminate\Support\ServiceProvider;
class ErrorServiceProvider extends ServiceProvider {
/**
* Register any error handlers.
*
* @return void
*/
public function boot()
{
// Here you may handle any errors that occur in your application, including
// logging them or displaying custom views for specific errors. You may
// even register several error handlers to handle different types of
// exceptions. If nothing is returned, the default error view is
// shown, which includes a detailed stack trace during debug.
$this->app->error(function(\Exception $exception, $code)
{
$this->app['log']->error($exception);
});
}
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
//
}
}