mirror of https://github.com/kcal-app/kcal.git
30 lines
485 B
PHP
30 lines
485 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use CloudCreativity\LaravelJsonApi\LaravelJsonApi;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Bootstrap any application services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
LaravelJsonApi::defaultApi('v1');
|
|
}
|
|
}
|