mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 19:51:09 -04:00
init crater
This commit is contained in:
33
app/Providers/AppServiceProvider.php
Normal file
33
app/Providers/AppServiceProvider.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?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,
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user