added dd helper.
This commit is contained in:
parent
62935964eb
commit
f6388e26be
|
@ -26,6 +26,17 @@ function __($key, $replacements = array(), $language = null)
|
|||
return Laravel\Lang::line($key, $replacements, $language);
|
||||
}
|
||||
|
||||
/**
|
||||
* Dump the given value and kill the script.
|
||||
*
|
||||
* @param mixed $value
|
||||
* @return void
|
||||
*/
|
||||
function dd($value)
|
||||
{
|
||||
die(var_dump($value));
|
||||
}
|
||||
|
||||
/**
|
||||
* Get an item from an array using "dot" notation.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue