Skip to content

Commit

Permalink
Implement ddArray
Browse files Browse the repository at this point in the history
  • Loading branch information
jcsoriano authored Mar 9, 2024
1 parent 53e0a38 commit b864b2a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Illuminate/Collections/Traits/EnumeratesValues.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,19 @@ public function dd(...$args)
exit(1);
}

/**
* Dump the items and end the script.
*
* @param mixed ...$args
* @return never
*/
public function ddArray(...$args)
{
$this->dumpArray(...$args);

exit(1);
}

/**
* Dump the items.
*
Expand Down

0 comments on commit b864b2a

Please sign in to comment.