Skip to content

Commit 7b0ba90

Browse files
authored
Merge pull request #2 from php-etl/feature/add-trim-function
Feature/add trim function + filename function
2 parents 8f13ce5 + b8719f7 commit 7b0ba90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/StringExpressionLanguageProvider.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ public function getFunctions(): array
1111
{
1212
return [
1313
ExpressionFunction::fromPhp('sprintf', 'format'),
14-
new FileName('fileName')
14+
ExpressionFunction::fromPhp('trim', 'trim'),
15+
ExpressionFunction::fromPhp('str_replace', 'replace'),
16+
new FileName('fileName'),
1517
];
1618
}
1719
}

0 commit comments

Comments
 (0)