Explorer
home
/
zoteqbgb
/
public_html
/
vendor
/
laravel
/
sanctum
/
src
/
Exceptions
Location:
/home/zoteqbgb/public_html/vendor/laravel/sanctum/src/Exceptions
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: MissingAbilityException.php
<?php namespace Laravel\Sanctum\Exceptions; use Illuminate\Auth\Access\AuthorizationException; use Illuminate\Support\Arr; class MissingAbilityException extends AuthorizationException { /** * The abilities that the user did not have. * * @var array */ protected $abilities; /** * Create a new missing scope exception. * * @param array|string $abilities * @param string $message * @return void */ public function __construct($abilities = [], $message = 'Invalid ability provided.') { parent::__construct($message); $this->abilities = Arr::wrap($abilities); } /** * Get the abilities that the user did not have. * * @return array */ public function abilities() { return $this->abilities; } }
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
MissingAbilityException.php
834 bytes
0644
2023-12-19 23:44
âï¸
ðï¸
Rename
MissingScopeException.php
889 bytes
0644
2023-12-19 23:44
âï¸
ðï¸
Rename
Chang
Apply