More Blade improvements… adds template inheritance.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
Taylor Otwell
2012-03-23 13:01:36 -05:00
parent b07ee31f3a
commit 8e8b0b8cb3
4 changed files with 261 additions and 38 deletions

View File

@@ -450,4 +450,15 @@ function render($view, $data = array())
function render_each($partial, array $data, $iterator, $empty = 'raw|')
{
return Laravel\View::render_each($partial, $data, $iterator, $empty);
}
/**
* Get the string contents of a section.
*
* @param string $section
* @return string
*/
function yield($section)
{
return Laravel\Section::yield($section);
}