Blade::setEchoFormat PHP Method

setEchoFormat() public static method

Set the echo format to be used by the compiler.
public static setEchoFormat ( string $format ) : void
$format string
return void
        public static function setEchoFormat($format)
        {
            \Illuminate\View\Compilers\BladeCompiler::setEchoFormat($format);
        }

Usage Example

Ejemplo n.º 1
0
 /**
  * Bootstrap any application services.
  *
  * @return void
  */
 public function boot()
 {
     \Blade::setContentTags('{{{', '}}}');
     \Blade::setEscapedContentTags('{{', '}}');
     \Blade::setEchoFormat('nl2br(e(%s))');
     \Form::component('checklist', 'components.form.checklist', ['name', 'options']);
 }
All Usage Examples Of Blade::setEchoFormat