adrema/app/Providers/AppServiceProvider.php

30 lines
482 B
PHP
Raw Normal View History

2020-04-10 20:32:12 +02:00
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Http\Resources\Json\JsonResource;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
JsonResource::withoutWrapping();
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
//
}
}