From b8686e40cdf9aed423974c7ac61974b020bbc41b Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 16 Apr 2024 10:33:27 +0200 Subject: [PATCH] Add explode function to the array provider --- src/ArrayExpressionLanguageProvider.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ArrayExpressionLanguageProvider.php b/src/ArrayExpressionLanguageProvider.php index 73851ba..a246220 100644 --- a/src/ArrayExpressionLanguageProvider.php +++ b/src/ArrayExpressionLanguageProvider.php @@ -21,6 +21,7 @@ public function getFunctions(): array ExpressionFunction::fromPhp('iterator_to_array', 'iterableToArray'), ExpressionFunction::fromPhp('array_intersect', 'intersect'), ExpressionFunction::fromPhp('implode', 'implode'), + ExpressionFunction::fromPhp('explode', 'explode'), new Reduce('reduce'), new Join('join'), new Map('map'),