mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-08 21:28:23 +00:00
fix loading of some twig extensions in DI
This commit is contained in:
@@ -61,22 +61,18 @@ services:
|
||||
|
||||
chill.main.twig.translatable_string:
|
||||
class: Chill\MainBundle\Templating\TranslatableStringTwig
|
||||
arguments:
|
||||
- "@chill.main.helper.translatable_string"
|
||||
tags:
|
||||
- { name: twig.extension }
|
||||
autoconfigure: true
|
||||
autowire: true
|
||||
|
||||
chill.main.twig.widget:
|
||||
class: Chill\MainBundle\Templating\Widget\WidgetRenderingTwig
|
||||
arguments:
|
||||
- "@event_dispatcher"
|
||||
tags:
|
||||
- { name: twig.extension }
|
||||
autoconfigure: true
|
||||
autowire: true
|
||||
|
||||
chill.main.twig.csv_cell:
|
||||
class: Chill\MainBundle\Templating\CSVCellTwig
|
||||
tags:
|
||||
- { name: twig.extension }
|
||||
autoconfigure: true
|
||||
autowire: true
|
||||
|
||||
chill.main.validator.role_scope_scope_presence:
|
||||
class: Chill\MainBundle\Validation\Validator\RoleScopeScopePresence
|
||||
|
||||
@@ -28,12 +28,12 @@ services:
|
||||
arguments:
|
||||
$requestStack: '@Symfony\Component\HttpFoundation\RequestStack'
|
||||
$originalExtension: '@twig.extension.routing'
|
||||
tags:
|
||||
- { name: twig.extension }
|
||||
autoconfigure: true
|
||||
autowire: true
|
||||
|
||||
Chill\MainBundle\Templating\Entity\ChillEntityRenderExtension:
|
||||
tags:
|
||||
- { name: twig.extension }
|
||||
autoconfigure: true
|
||||
autowire: true
|
||||
|
||||
Chill\MainBundle\Templating\Entity\ChillEntityRenderManager:
|
||||
arguments:
|
||||
@@ -47,8 +47,8 @@ services:
|
||||
- { name: 'chill.render_entity' }
|
||||
|
||||
Chill\MainBundle\Templating\ChillMarkdownRenderExtension:
|
||||
tags:
|
||||
- { name: twig.extension }
|
||||
autoconfigure: true
|
||||
autowire: true
|
||||
|
||||
Chill\MainBundle\Templating\Entity\AddressRender: ~
|
||||
|
||||
|
||||
@@ -22,15 +22,9 @@ class CountNotificationTask implements NotificationCounterInterface
|
||||
{
|
||||
final public const string CACHE_KEY = 'chill_task.count_notifications.user.%d.%s';
|
||||
|
||||
/**
|
||||
* @var CacheItempPoolInterface
|
||||
*/
|
||||
protected $cachePool;
|
||||
protected CacheItemPoolInterface $cachePool;
|
||||
|
||||
/**
|
||||
* @var SingleTaskRepository
|
||||
*/
|
||||
protected $singleTaskRepository;
|
||||
protected SingleTaskRepository $singleTaskRepository;
|
||||
|
||||
public function __construct(
|
||||
SingleTaskRepository $singleTaskRepository,
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
services:
|
||||
Chill\TaskBundle\Templating\TaskTwigExtension:
|
||||
arguments:
|
||||
$taskWorkflowManager: '@Chill\TaskBundle\Workflow\TaskWorkflowManager'
|
||||
tags:
|
||||
- { name: 'twig.extension' }
|
||||
autoconfigure: true
|
||||
autowire: true
|
||||
|
||||
Chill\TaskBundle\Templating\UI\CountNotificationTask:
|
||||
autoconfigure: true
|
||||
|
||||
Reference in New Issue
Block a user