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.
dd()
dump()
1 parent 357333a commit d925372Copy full SHA for d925372
src/Illuminate/Support/Carbon.php
@@ -18,4 +18,27 @@ public static function setTestNow($testNow = null)
18
BaseCarbon::setTestNow($testNow);
19
BaseCarbonImmutable::setTestNow($testNow);
20
}
21
+
22
+ /**
23
+ * Dump the instance and end the script.
24
+ *
25
+ * @param mixed ...$args
26
+ * @return never
27
+ */
28
+ public function dd(...$args)
29
+ {
30
+ dd($this, ...$args);
31
+ }
32
33
34
+ * Dump the instance.
35
36
+ * @return $this
37
38
+ public function dump()
39
40
+ dump($this);
41
42
+ return $this;
43
44
0 commit comments