Open gecbla opened 9 years ago
In Laravel someone can easily write
Blade::extend(function($value) { return preg_replace('/\@define(.+)/', '<?php ${1}; ?>', $value); });
for custom syntax
@define $i = 1
Is this possible with your package and how? Method extend exists only in class Illuminate\View\Compilers\BladeCompiler.php
extend
Illuminate\View\Compilers\BladeCompiler.php
In Laravel someone can easily write
for custom syntax
Is this possible with your package and how? Method
extend
exists only in classIlluminate\View\Compilers\BladeCompiler.php