urlsnail/app/Providers/AppServiceProvider.php

27 lines
508 B
PHP

<?php
namespace App\Providers;
use Illuminate\Pagination\Paginator;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
Paginator::defaultView('pagination.default');
Paginator::defaultSimpleView('pagination.simple-default');
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
//
}
}