Skip to content

Commit

Permalink
Added the rtrim function
Browse files Browse the repository at this point in the history
  • Loading branch information
sebprt committed Feb 9, 2023
1 parent d678685 commit 45332c2
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 @@ -25,6 +25,7 @@ public function getFunctions(): array
ExpressionFunction::fromPhp('json_decode', 'decode'),
ExpressionFunction::fromPhp('preg_replace', 'replaceByExpression'),
ExpressionFunction::fromPhp('ucwords', 'capitalizeWords'),
ExpressionFunction::fromPhp('rtrim', 'removeWhitespaces'),
new FileName('fileName'),
new DateTime('dateTime'),
new FormatDate('formatDate'),
Expand Down

0 comments on commit 45332c2

Please sign in to comment.