-
Notifications
You must be signed in to change notification settings - Fork 11.7k
Closed
Description
- Laravel Version: 5.4.8
Description:
@taylorotwell
It's problematic to migrate to 5.3 -> 5.4 when e.g we reserve {{ .. }} for angularJS, and <?php echo .. ?> for everything else. There seems to be no (simple) way anymore to override Blade tag syntax, after setContentTags(), setEscapedContentTags() were wiped in 5e394bb.
Steps To Reproduce:
class AppServiceProvider extends ServiceProvider
public function register()
\Blade::setContentTags('[%%', '%%]');
\Blade::setEscapedContentTags('[-%%', '%%-]');
}
}
> php artisan clear-compiled
[Symfony\Component\Debug\Exception\FatalThrowableError]
Call to undefined method Illuminate\View\Compilers\BladeCompiler::setContentTags()
Metadata
Metadata
Assignees
Labels
No labels