Browse Source

added docblock to blade function.

Taylor Otwell 12 years ago
parent
commit
d558387b85
1 changed files with 6 additions and 0 deletions
  1. 6 0
      laravel/blade.php

+ 6 - 0
laravel/blade.php

@@ -104,6 +104,12 @@ class Blade {
 		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