Commit f6388e26 authored by Taylor Otwell's avatar Taylor Otwell

added dd helper.

parent 62935964
......@@ -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.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment