summaryrefslogtreecommitdiff
path: root/vendor/beberlei/assert/lib/Assert/AssertionFailedException.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/beberlei/assert/lib/Assert/AssertionFailedException.php')
-rw-r--r--vendor/beberlei/assert/lib/Assert/AssertionFailedException.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/vendor/beberlei/assert/lib/Assert/AssertionFailedException.php b/vendor/beberlei/assert/lib/Assert/AssertionFailedException.php
new file mode 100644
index 000000000..c18483884
--- /dev/null
+++ b/vendor/beberlei/assert/lib/Assert/AssertionFailedException.php
@@ -0,0 +1,35 @@
+<?php
+
+/**
+ * Assert
+ *
+ * LICENSE
+ *
+ * This source file is subject to the MIT license that is bundled
+ * with this package in the file LICENSE.txt.
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to [email protected] so I can send you a copy immediately.
+ */
+
+namespace Assert;
+
+use Throwable;
+
+interface AssertionFailedException extends Throwable
+{
+ /**
+ * @return string|null
+ */
+ public function getPropertyPath();
+
+ /**
+ * @return mixed
+ */
+ public function getValue();
+
+ /**
+ * @return array
+ */
+ public function getConstraints(): array;
+}