Skip to content

Commit 5f703d7

Browse files
committed
add tr_dd and tr_dump
1 parent 21bce75 commit 5f703d7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

helpers.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
<?php
2+
/**
3+
* Dump Die
4+
*
5+
* @param mixed ...$args
6+
*/
7+
function tr_dd(...$args) {
8+
\TypeRocket\Utility\Dump::die(...$args);
9+
}
10+
11+
/**
12+
* Dump
13+
*
14+
* @param mixed ...$args
15+
*/
16+
function tr_dump(...$args) {
17+
\TypeRocket\Utility\Dump::data(...$args);
18+
}
19+
220
/**
321
* Dots Walk
422
*

0 commit comments

Comments
 (0)