2020-11-23 13:12:03 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Webkul\DebugBar\Providers;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
2020-11-24 11:37:35 +00:00
|
|
|
use Webkul\DebugBar\DataCollector\ModuleCollector;
|
2020-11-23 13:12:03 +00:00
|
|
|
use Debugbar;
|
|
|
|
|
|
|
|
|
|
class DebugBarServiceProvider extends ServiceProvider
|
|
|
|
|
{
|
|
|
|
|
public function boot()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Register services.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
public function register()
|
|
|
|
|
{
|
2020-11-24 11:37:35 +00:00
|
|
|
Debugbar::addCollector(app(ModuleCollector::class));
|
2020-11-23 13:12:03 +00:00
|
|
|
}
|
|
|
|
|
}
|