From 9adfab3ada2d96e0ced1816668e9e1f3d7614265 Mon Sep 17 00:00:00 2001 From: Guillaume Loulier Date: Wed, 6 Aug 2025 17:36:51 +0200 Subject: [PATCH] feat(aibundle): initialize method call added --- src/ai-bundle/src/AiBundle.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ai-bundle/src/AiBundle.php b/src/ai-bundle/src/AiBundle.php index 2c3a060b..64811155 100644 --- a/src/ai-bundle/src/AiBundle.php +++ b/src/ai-bundle/src/AiBundle.php @@ -507,6 +507,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde $definition ->addTag('ai.store') ->setArguments($arguments); + $definition->addMethodCall('initialize'); $container->setDefinition('ai.store.'.$type.'.'.$name, $definition); } @@ -548,6 +549,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde $definition ->addTag('ai.store') ->setArguments($arguments); + $definition->addMethodCall('initialize'); $container->setDefinition('ai.store.'.$type.'.'.$name, $definition); } @@ -585,6 +587,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde $definition ->addTag('ai.store') ->setArguments($arguments); + $definition->addMethodCall('initialize'); $container->setDefinition('ai.store.'.$type.'.'.$name, $definition); } @@ -635,6 +638,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde $definition ->addTag('ai.store') ->setArguments($arguments); + $definition->addMethodCall('initialize'); $container->setDefinition('ai.store.'.$type.'.'.$name, $definition); } @@ -675,6 +679,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde $definition ->addTag('ai.store') ->setArguments($arguments); + $definition->addMethodCall('initialize'); $container->setDefinition('ai.store.'.$type.'.'.$name, $definition); }