From e5c6b3cd9fe4245e125f2582d435d02712f5d65d Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Sat, 12 Sep 2020 18:42:49 -0400 Subject: [PATCH] make service public like in symfony 2.x --- Civi/Core/Container.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Civi/Core/Container.php b/Civi/Core/Container.php index d898c61fde..acedf8a780 100644 --- a/Civi/Core/Container.php +++ b/Civi/Core/Container.php @@ -239,7 +239,7 @@ class Container { )) ->setFactory([$class, 'singleton'])->setPublic(TRUE); } - $container->setAlias('cache.short', 'cache.default'); + $container->setAlias('cache.short', 'cache.default')->setPublic(TRUE); $container->setDefinition('resources', new Definition( 'CRM_Core_Resources', -- 2.25.1