ExceptionWithContext.php 363 B

1234567891011121314151617
  1. <?php
  2. namespace Facade\FlareClient\Tests\TestClasses;
  3. use Facade\FlareClient\Contracts\ProvidesFlareContext;
  4. class ExceptionWithContext extends \Exception implements ProvidesFlareContext
  5. {
  6. public function context(): array
  7. {
  8. return [
  9. 'context' => [
  10. 'another key' => 'another value',
  11. ],
  12. ];
  13. }
  14. }