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:
|
chill.main.twig.translatable_string:
|
||||||
class: Chill\MainBundle\Templating\TranslatableStringTwig
|
class: Chill\MainBundle\Templating\TranslatableStringTwig
|
||||||
arguments:
|
autoconfigure: true
|
||||||
- "@chill.main.helper.translatable_string"
|
autowire: true
|
||||||
tags:
|
|
||||||
- { name: twig.extension }
|
|
||||||
|
|
||||||
chill.main.twig.widget:
|
chill.main.twig.widget:
|
||||||
class: Chill\MainBundle\Templating\Widget\WidgetRenderingTwig
|
class: Chill\MainBundle\Templating\Widget\WidgetRenderingTwig
|
||||||
arguments:
|
autoconfigure: true
|
||||||
- "@event_dispatcher"
|
autowire: true
|
||||||
tags:
|
|
||||||
- { name: twig.extension }
|
|
||||||
|
|
||||||
chill.main.twig.csv_cell:
|
chill.main.twig.csv_cell:
|
||||||
class: Chill\MainBundle\Templating\CSVCellTwig
|
class: Chill\MainBundle\Templating\CSVCellTwig
|
||||||
tags:
|
autoconfigure: true
|
||||||
- { name: twig.extension }
|
autowire: true
|
||||||
|
|
||||||
chill.main.validator.role_scope_scope_presence:
|
chill.main.validator.role_scope_scope_presence:
|
||||||
class: Chill\MainBundle\Validation\Validator\RoleScopeScopePresence
|
class: Chill\MainBundle\Validation\Validator\RoleScopeScopePresence
|
||||||
|
|||||||
@@ -28,12 +28,12 @@ services:
|
|||||||
arguments:
|
arguments:
|
||||||
$requestStack: '@Symfony\Component\HttpFoundation\RequestStack'
|
$requestStack: '@Symfony\Component\HttpFoundation\RequestStack'
|
||||||
$originalExtension: '@twig.extension.routing'
|
$originalExtension: '@twig.extension.routing'
|
||||||
tags:
|
autoconfigure: true
|
||||||
- { name: twig.extension }
|
autowire: true
|
||||||
|
|
||||||
Chill\MainBundle\Templating\Entity\ChillEntityRenderExtension:
|
Chill\MainBundle\Templating\Entity\ChillEntityRenderExtension:
|
||||||
tags:
|
autoconfigure: true
|
||||||
- { name: twig.extension }
|
autowire: true
|
||||||
|
|
||||||
Chill\MainBundle\Templating\Entity\ChillEntityRenderManager:
|
Chill\MainBundle\Templating\Entity\ChillEntityRenderManager:
|
||||||
arguments:
|
arguments:
|
||||||
@@ -47,8 +47,8 @@ services:
|
|||||||
- { name: 'chill.render_entity' }
|
- { name: 'chill.render_entity' }
|
||||||
|
|
||||||
Chill\MainBundle\Templating\ChillMarkdownRenderExtension:
|
Chill\MainBundle\Templating\ChillMarkdownRenderExtension:
|
||||||
tags:
|
autoconfigure: true
|
||||||
- { name: twig.extension }
|
autowire: true
|
||||||
|
|
||||||
Chill\MainBundle\Templating\Entity\AddressRender: ~
|
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';
|
final public const string CACHE_KEY = 'chill_task.count_notifications.user.%d.%s';
|
||||||
|
|
||||||
/**
|
protected CacheItemPoolInterface $cachePool;
|
||||||
* @var CacheItempPoolInterface
|
|
||||||
*/
|
|
||||||
protected $cachePool;
|
|
||||||
|
|
||||||
/**
|
protected SingleTaskRepository $singleTaskRepository;
|
||||||
* @var SingleTaskRepository
|
|
||||||
*/
|
|
||||||
protected $singleTaskRepository;
|
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
SingleTaskRepository $singleTaskRepository,
|
SingleTaskRepository $singleTaskRepository,
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
Chill\TaskBundle\Templating\TaskTwigExtension:
|
Chill\TaskBundle\Templating\TaskTwigExtension:
|
||||||
arguments:
|
autoconfigure: true
|
||||||
$taskWorkflowManager: '@Chill\TaskBundle\Workflow\TaskWorkflowManager'
|
autowire: true
|
||||||
tags:
|
|
||||||
- { name: 'twig.extension' }
|
|
||||||
|
|
||||||
Chill\TaskBundle\Templating\UI\CountNotificationTask:
|
Chill\TaskBundle\Templating\UI\CountNotificationTask:
|
||||||
autoconfigure: true
|
autoconfigure: true
|
||||||
|
|||||||
Reference in New Issue
Block a user