ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.191.93.43 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/Foundation/Exceptions/ |
Upload File : |
<?php namespace Illuminate\Foundation\Exceptions; use Illuminate\Support\Traits\ReflectsClosures; use Throwable; class ReportableHandler { use ReflectsClosures; /** * The underlying callback. * * @var callable */ protected $callback; /** * Indicates if reporting should stop after invoking this handler. * * @var bool */ protected $shouldStop = false; /** * Create a new reportable handler instance. * * @param callable $callback * @return void */ public function __construct(callable $callback) { $this->callback = $callback; } /** * Invoke the handler. * * @param \Throwable $e * @return bool */ public function __invoke(Throwable $e) { $result = call_user_func($this->callback, $e); if ($result === false) { return false; } return ! $this->shouldStop; } /** * Determine if the callback handles the given exception. * * @param \Throwable $e * @return bool */ public function handles(Throwable $e) { return is_a($e, $this->firstClosureParameterType($this->callback)); } /** * Indicate that report handling should stop after invoking this callback. * * @return $this */ public function stop() { $this->shouldStop = true; return $this; } }