Debian Codegraph @

lib/3rdParty/composer/illuminate/support/Traits/Dumpable.php

raw symbols SCIP
1 <?php
2
3 namespace Illuminate\Support\Traits;
4
5 trait Dumpable
6 {
7 /**
8 * Dump the given arguments and terminate execution.
9 *
10 * @param mixed ...$args
11 * @return never
12 */
13 public function dd(...$args)
14 {
15 dd($this, ...$args);
16 }
17
18 /**
19 * Dump the given arguments.
20 *
21 * @param mixed ...$args
22 * @return $this
23 */
24 public function dump(...$args)
25 {
26 dump($this, ...$args);
27
28 return $this;
29 }
30 }