Example #1
0
 /**
  * Compiles the specified file containing Blade pseudo-code into valid PHP.
  *
  * @param  string  $path
  * @return string
  */
 public static function compile(View $view)
 {
     return static::compile_string(file_get_contents($view->originalPath()));
 }