Swaggervel icon indicating copy to clipboard operation
Swaggervel copied to clipboard

Compatibility with Laravel 5.4

Open panicfilip opened this issue 7 years ago • 3 comments

Removal of undefined methods setEscapedContentTags and setContentTags methods on Blade Facade.

panicfilip avatar May 15 '17 12:05 panicfilip

For backwards compatibility:

$laravel = app();

if (version_compare($laravel::VERSION, '5.4', '<')) {
  Blade::setEscapedContentTags('{{{', '}}}');
  Blade::setContentTags('{{', '}}');
}

notfalsedev avatar Jun 01 '17 12:06 notfalsedev

I'm facing this issue, does someone facing the same issue now?

mhetreramesh avatar Jan 11 '18 08:01 mhetreramesh

please merge it. same issue

Mehrdad-Dadkhah avatar Jul 09 '18 18:07 Mehrdad-Dadkhah