Skip to content

Commit 0d75111

Browse files
authored
Merge pull request #6 from larapack/develop
Debug without die
2 parents acb1d13 + 47f21c5 commit 0d75111

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

roadmap.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Roadmap for future development
2+
3+
- Create tests

src/helper.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,11 @@ function dd()
88
die();
99
}
1010
}
11+
12+
if (!function_exists('d')) {
13+
function d()
14+
{
15+
$args = func_get_args();
16+
call_user_func_array('dump', $args);
17+
}
18+
}

0 commit comments

Comments
 (0)