added docblock to blade function.

This commit is contained in:
Taylor Otwell 2012-03-25 22:17:55 -05:00
parent 3ba6342cf5
commit d558387b85
1 changed files with 6 additions and 0 deletions

View File

@ -104,6 +104,12 @@ public static function compile_string($value, $view = null)
return $value; return $value;
} }
/**
* Rewrites Blade "@layout" expressions into valid PHP.
*
* @param string $value
* @return string
*/
protected static function compile_layouts($value) protected static function compile_layouts($value)
{ {
// If the Blade template is not using "layouts", we'll just return it // If the Blade template is not using "layouts", we'll just return it