From bbd725037b0343a622c68bd506bee895785ad32e Mon Sep 17 00:00:00 2001 From: David Grudl Date: Fri, 3 May 2024 12:40:08 +0200 Subject: [PATCH] CoreExtension: added function group() --- src/Latte/Essential/CoreExtension.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Latte/Essential/CoreExtension.php b/src/Latte/Essential/CoreExtension.php index 1a4980f7b..e081d5d2d 100644 --- a/src/Latte/Essential/CoreExtension.php +++ b/src/Latte/Essential/CoreExtension.php @@ -182,6 +182,7 @@ public function getFunctions(): array 'divisibleBy' => [$this->filters, 'divisibleBy'], 'even' => [$this->filters, 'even'], 'first' => [$this->filters, 'first'], + 'group' => [$this->filters, 'group'], 'last' => [$this->filters, 'last'], 'odd' => [$this->filters, 'odd'], 'slice' => [$this->filters, 'slice'],