ThrowsDebugInfo.php 232 B

1234567891011121314151617
  1. <?php
  2. declare(strict_types=1);
  3. namespace TestApp\Utility;
  4. use Exception;
  5. class ThrowsDebugInfo
  6. {
  7. /**
  8. * @inheritDoc
  9. */
  10. public function __debugInfo()
  11. {
  12. throw new Exception('from __debugInfo');
  13. }
  14. }