Skip to content

Commit

Permalink
Implementado helper com função dump and die
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr3d4dor committed Mar 28, 2020
1 parent a1a9e64 commit 8f79b56
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions application/helpers/dd_helper.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

if (!function_exists("dd")) {
function dd($var, ...$moreVars)
{
dump($var, $moreVars);
die();
}
}

0 comments on commit 8f79b56

Please sign in to comment.