diff --git a/tests/Support/Traits/Dumpable.php b/tests/Support/Traits/Dumpable.php new file mode 100644 index 0000000..9d08def --- /dev/null +++ b/tests/Support/Traits/Dumpable.php @@ -0,0 +1,32 @@ +dump(...$args); + + dd(); + } + + /** + * Dump the given arguments. + * + * @param mixed ...$args + * @return $this + */ + public function dump(...$args) + { + dump($this, ...$args); + + return $this; + } +}