We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4ac9473 + 56b0a6b commit b278ad1Copy full SHA for b278ad1
src/throwable.php
@@ -2,5 +2,23 @@
2
// @codingStandardsIgnoreFile
3
// phpcs:ignore
4
if (!interface_exists('Throwable')) {
5
- interface Throwable {}
+ interface Throwable
6
+ {
7
+ /** @return string */
8
+ public function getMessage();
9
+ /** @return int */
10
+ public function getCode();
11
12
+ public function getFile();
13
14
+ public function getLine();
15
+ /** @return array */
16
+ public function getTrace();
17
18
+ public function getTraceAsString();
19
+ /** @return null|Throwable */
20
+ public function getPrevious();
21
22
+ public function __toString();
23
+ }
24
}
0 commit comments