Skip to content

Commit 9ecaec9

Browse files
committed
Merge pull request #9 from Liingon/master
Added support for @lang and @choice in Blade templates
2 parents a3a03ed + 606cf75 commit 9ecaec9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/config/config.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,14 @@
7878
'@Lang::choice\(\s*(\'.*\')\s*,.*\)@U',
7979
'@Lang::choice\(\s*(".*")\s*,.*\)@U',
8080
),
81+
'@lang' => array(
82+
'@\@lang\(\s*(\'.*\')\s*(,.*)*\)@U',
83+
'@\@lang\(\s*(".*")\s*(,.*)*\)@U',
84+
),
85+
'@choice' => array(
86+
'@\@choice\(\s*(\'.*\')\s*,.*\)@U',
87+
'@\@choice\(\s*(".*")\s*,.*\)@U',
88+
),
8189
),
8290

8391

0 commit comments

Comments
 (0)