From 92f3e62abb4d4b3681b1bdfcbc1246bacbbe61ad Mon Sep 17 00:00:00 2001 From: Philipp Lang Date: Tue, 8 Nov 2022 11:56:59 +0100 Subject: [PATCH] Add price directive --- src/BladeCompiler.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/BladeCompiler.php b/src/BladeCompiler.php index 7dcd614..1132575 100644 --- a/src/BladeCompiler.php +++ b/src/BladeCompiler.php @@ -29,5 +29,7 @@ class BladeCompiler extends BaseBladeCompiler '->replace("'.$this->slashReplace.'", "$\\\textbackslash$")', '; ?>', ])); + + $this->directive('price', fn ($expression) => ''); } }