From faf9c8a480075497a74b29e8debcc2905d0d27d5 Mon Sep 17 00:00:00 2001 From: krzysiej Date: Sun, 5 Jan 2025 16:27:15 +0100 Subject: [PATCH] Update src/Twig/AppExtension.php --- src/Twig/AppExtension.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Twig/AppExtension.php b/src/Twig/AppExtension.php index 719ab1a..0012c59 100644 --- a/src/Twig/AppExtension.php +++ b/src/Twig/AppExtension.php @@ -17,6 +17,7 @@ class AppExtension extends AbstractExtension { return [ new TwigFunction('promosCount', [$this, 'promosCount']), + new TwigFunction('newCount', [$this, 'newCount']), ]; }