Explorer
home
/
zoteqbgb
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Support
/
Providers
Location:
/home/zoteqbgb/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Support/Providers
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: AuthServiceProvider.php
<?php namespace Illuminate\Foundation\Support\Providers; use Illuminate\Support\Facades\Gate; use Illuminate\Support\ServiceProvider; class AuthServiceProvider extends ServiceProvider { /** * The policy mappings for the application. * * @var array<class-string, class-string> */ protected $policies = []; /** * Register the application's policies. * * @return void */ public function register() { $this->booting(function () { $this->registerPolicies(); }); } /** * Register the application's policies. * * @return void */ public function registerPolicies() { foreach ($this->policies() as $model => $policy) { Gate::policy($model, $policy); } } /** * Get the policies defined on the provider. * * @return array<class-string, class-string> */ public function policies() { return $this->policies; } }
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
AuthServiceProvider.php
1,005 bytes
0644
2025-01-31 15:04
âï¸
ðï¸
Rename
EventServiceProvider.php
3,686 bytes
0644
2025-01-31 15:04
âï¸
ðï¸
Rename
RouteServiceProvider.php
3,142 bytes
0644
2025-01-31 15:04
âï¸
ðï¸
Rename
Chang
Apply