|
|
@@ -2,6 +2,7 @@ |
|
|
|
|
|
|
|
namespace Lc\ShopBundle\Twig; |
|
|
|
|
|
|
|
use App\Services\NotificationUtils; |
|
|
|
use Doctrine\ORM\EntityManagerInterface; |
|
|
|
use Lc\ShopBundle\Context\MerchantInterface; |
|
|
|
use Lc\ShopBundle\Context\MerchantUtilsInterface; |
|
|
@@ -59,6 +60,7 @@ class FrontendTwigExtension extends AbstractExtension |
|
|
|
new TwigFunction('get_merchants', [$this, 'getMerchants']), |
|
|
|
new TwigFunction('get_file_manager_folder', [$this, 'getFileManagerFolder']), |
|
|
|
new TwigFunction('lc_format_price', [$this, 'formatPrice']), |
|
|
|
new TwigFunction('get_form_manage_notifications', [$this, 'getFormManageNotifications']), |
|
|
|
); |
|
|
|
} |
|
|
|
|