Skip to content

Commit

Permalink
added docblock to blade function.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Mar 26, 2012
1 parent 3ba6342 commit d558387
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions laravel/blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ public static function compile_string($value, $view = null)
return $value;
}

/**
* Rewrites Blade "@layout" expressions into valid PHP.
*
* @param string $value
* @return string
*/
protected static function compile_layouts($value)
{
// If the Blade template is not using "layouts", we'll just return it
Expand Down

0 comments on commit d558387

Please sign in to comment.