Commit f6388e26 by Taylor Otwell

added dd helper.

parent 62935964
...@@ -27,6 +27,17 @@ function __($key, $replacements = array(), $language = null) ...@@ -27,6 +27,17 @@ function __($key, $replacements = array(), $language = null)
} }
/** /**
* 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. * Get an item from an array using "dot" notation.
* *
* <code> * <code>
......
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