Skip to content

Commit 2e487db

Browse files
committed
Added splitIntoArray function
1 parent 45332c2 commit 2e487db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/StringExpressionLanguageProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public function getFunctions(): array
2626
ExpressionFunction::fromPhp('preg_replace', 'replaceByExpression'),
2727
ExpressionFunction::fromPhp('ucwords', 'capitalizeWords'),
2828
ExpressionFunction::fromPhp('rtrim', 'removeWhitespaces'),
29+
ExpressionFunction::fromPhp('explode', 'splitIntoArray'),
2930
new FileName('fileName'),
3031
new DateTime('dateTime'),
3132
new FormatDate('formatDate'),

0 commit comments

Comments
 (0)