Skip to content

Commit

Permalink
Added splitIntoArray function
Browse files Browse the repository at this point in the history
  • Loading branch information
sebprt committed Feb 20, 2023
1 parent 45332c2 commit 2e487db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/StringExpressionLanguageProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public function getFunctions(): array
ExpressionFunction::fromPhp('preg_replace', 'replaceByExpression'),
ExpressionFunction::fromPhp('ucwords', 'capitalizeWords'),
ExpressionFunction::fromPhp('rtrim', 'removeWhitespaces'),
ExpressionFunction::fromPhp('explode', 'splitIntoArray'),
new FileName('fileName'),
new DateTime('dateTime'),
new FormatDate('formatDate'),
Expand Down

0 comments on commit 2e487db

Please sign in to comment.