More Blade improvements… adds template inheritance.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user