12345678910111213141516171819202122232425262728293031323334 |
- <?php
- namespace App\Providers;
- use App\Http\Admin\Locations;
- use App\Http\Admin\Users;
- use App\Location;
- use App\User;
- use SleepingOwl\Admin\Providers\AdminSectionsServiceProvider as ServiceProvider;
- class AdminSectionsServiceProvider extends ServiceProvider
- {
- /**
- * @var array
- */
- protected $sections = [
- User::class => Users::class,
- Location::class => Locations::class
- ];
- /**
- * Register sections.
- *
- * @param \SleepingOwl\Admin\Admin $admin
- * @return void
- */
- public function boot(\SleepingOwl\Admin\Admin $admin)
- {
- //
- parent::boot($admin);
- }
- }
|