Skip to content

Commit

Permalink
Merge pull request #1 from djalmamanfrin/master
Browse files Browse the repository at this point in the history
function d()
  • Loading branch information
rdehnhardt authored Jul 19, 2017
2 parents 6e0e76f + 594a8b6 commit 1f6b560
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,13 @@ function dd()
}, func_get_args());
die(1);
}
}

if (!function_exists('d')) {
function d()
{
array_map(function ($x) {
(new Rdehnhardt\Debug\Dumper)->dump($x);
}, func_get_args());
}
}

0 comments on commit 1f6b560

Please sign in to comment.