Blade::setRawTags PHP Method

setRawTags() public static method

Sets the raw tags used for the compiler.
public static setRawTags ( string $openTag, string $closeTag ) : void
$openTag string
$closeTag string
return void
        public static function setRawTags($openTag, $closeTag)
        {
            \Illuminate\View\Compilers\BladeCompiler::setRawTags($openTag, $closeTag);
        }

Usage Example

示例#1
0
 /**
  * Register any application services.
  *
  * @return void
  */
 public function register()
 {
     $this->mergeConfigFrom(__DIR__ . '/../../../config/veer.php', 'veer');
     \Blade::setRawTags('{{', '}}');
     \Blade::setContentTags('{{{', '}}}');
     \Blade::setEscapedContentTags('{{{', '}}}');
 }
All Usage Examples Of Blade::setRawTags