Skip to content

Commit

Permalink
Merge pull request #920 from glepod/issue919
Browse files Browse the repository at this point in the history
Issue #919: Allow str and array functions
  • Loading branch information
dmitriim authored Jan 10, 2025
2 parents 2e05cc4 + bacb923 commit 98f9bfa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions classes/local/provider/expression_provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ public function getFunctions(): array { // phpcs:ignore
ExpressionFunction::fromPhp('strtotime', 'strtotime'),
ExpressionFunction::fromPhp('strtolower', 'strtolower'),
ExpressionFunction::fromPhp('intval', 'intval'),
ExpressionFunction::fromPhp('str_replace', 'str_replace'),
ExpressionFunction::fromPhp('array_column', 'array_column'),
ExpressionFunction::fromPhp('array_combine', 'array_combine'),
];
}
}

0 comments on commit 98f9bfa

Please sign in to comment.