Create service for transient cache

[MAILPOET-3646]
This commit is contained in:
Jan Lysý
2021-06-29 09:33:43 +02:00
committed by Veljko V
parent 063db4e4f4
commit 0a3971c045
2 changed files with 75 additions and 1 deletions

View File

@@ -387,7 +387,8 @@ class ContainerConfigurator implements IContainerConfigurator {
// Third party classes
$container->autowire(\MailPoetVendor\CSS::class)->setClass(\MailPoetVendor\CSS::class)->setPublic(true);
$container->autowire(\MailPoetVendor\csstidy::class)->setClass(\MailPoetVendor\csstidy::class);
// Cache
$container->autowire(\MailPoet\Cache\TransientCache::class)->setPublic(true);
return $container;
}