Commit c514ca1e authored by Taylor Otwell's avatar Taylor Otwell

Merge branch 'develop' of github.com:laravel/laravel into develop

parents 5c8527f5 d8683bcf
......@@ -409,4 +409,16 @@ function with($object)
function has_php($version)
{
return version_compare(PHP_VERSION, $version) >= 0;
}
/**
* Render the given view.
*
* @param string $view
* @param array $data
* @return string
*/
function render($view, $data = array())
{
return Laravel\View::make($view, $data)->render();
}
\ No newline at end of file
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