daily pastebin goal
56%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. namespace App\Providers;
  4.  
  5. use App\Api\ApiResource;
  6. use App\Nova\UserResource;
  7.  
  8. class ApiResourcesServiceProvider extends ServiceProvider
  9. {
  10.     public function boot()
  11.     {
  12.         ApiResource::register([
  13.             UserResource::class,
  14.         ]);
  15.     }
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top