| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- namespace App\Providers;
- use App\Models\Permission;
- use App\Repositories\PermissionRepository;
- use App\Repositories\PermissionRepositoryInterface;
- use Illuminate\Support\ServiceProvider;
- use App\Repositories\UserRepository;
- use App\Repositories\UserRepositoryInterface;
- use Illuminate\Support\Facades\Auth;
- class AppServiceProvider extends ServiceProvider
- {
- /**
- * All of the container bindings that should be registered.
- *
- * @var array
- */
- public $bindings = [
- UserRepositoryInterface::class => UserRepository::class,
- PermissionRepositoryInterface::class => PermissionRepository::class,
- // Add other bindings here...
- ];
- /**
- * Register any application services.
- */
- public function register(): void
- {
- //
- }
- /**
- * Bootstrap any application services.
- */
- public function boot(): void
- {
- //
- }
- }
|