mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
34 lines
707 B
PHP
34 lines
707 B
PHP
<?php
|
|
namespace Laraspace\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
use Illuminate\Pagination\Paginator;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Bootstrap any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
Paginator::useBootstrapThree();
|
|
}
|
|
|
|
/**
|
|
* Register any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
/*ADD THIS LINES*/
|
|
$this->commands([
|
|
\Laravel\Passport\Console\InstallCommand::class,
|
|
\Laravel\Passport\Console\KeysCommand::class,
|
|
\Laravel\Passport\Console\ClientCommand::class,
|
|
]);
|
|
}
|
|
}
|