AssertionFailedException.php 637 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Assert
  4. *
  5. * LICENSE
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this package in the file LICENSE.txt.
  9. * If you did not receive a copy of the license and are unable to
  10. * obtain it through the world-wide-web, please send an email
  11. * to kontakt@beberlei.de so I can send you a copy immediately.
  12. */
  13. namespace Assert;
  14. use Throwable;
  15. interface AssertionFailedException extends Throwable
  16. {
  17. /**
  18. * @return string|null
  19. */
  20. public function getPropertyPath();
  21. /**
  22. * @return mixed
  23. */
  24. public function getValue();
  25. public function getConstraints(): array;
  26. }