Files
newznab-tmux/app/Providers/AppServiceProvider.php
T
2023-03-30 14:15:39 +00:00

32 lines
556 B
PHP

<?php
namespace App\Providers;
use Illuminate\Pagination\Paginator;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot(): void
{
Paginator::useBootstrap();
$smarty = app('smarty.view');
view()->share('smarty', $smarty);
}
/**
* Register any application services.
*
* @return void
*/
public function register(): void
{
//
}
}