<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Pagination\Paginator;
use Session;
use App\Http\View\Composers\NotifikasiComposer;
use Illuminate\Support\Facades\View;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
// $this->app->bind('path.public', function() {
// return public_path('');
// });
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Paginator::useBootstrap();
// \Debugbar::disable();
\Debugbar::enable();
View::composer('layouts._topbar', NotifikasiComposer::class);
}
}
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]