From 0cb96ad7f8a1c2c609a27645a45d8a928be2a0a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joris=20Dugu=C3=A9?= Date: Mon, 9 Dec 2024 09:42:21 +0100 Subject: [PATCH] fix(chore): resolve problem of missing declaration of file into services.yml --- DependencyInjection/Configuration.php | 2 +- Resources/config/services.yml | 12 +++++++++++- composer.json | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 854c8e3..ddbeedb 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -13,7 +13,7 @@ class Configuration implements ConfigurationInterface * version of Symfony H5P bundle * @return string */ - const H5P_VERSION = '3.0.0'; + const H5P_VERSION = '3.0.3'; /** * Generates the configuration tree. diff --git a/Resources/config/services.yml b/Resources/config/services.yml index b96a3ca..b5c658f 100644 --- a/Resources/config/services.yml +++ b/Resources/config/services.yml @@ -89,6 +89,16 @@ services: autowire: true tags: - { name: 'console.command', command: 'h5p-bundle:cleanup-files'} + studit_h5p.versionORM: + class: Studit\H5PBundle\Utils\VersionORM + Studit\H5PBundle\Utils\VersionORM: '@studit_h5p.versionORM' + + studit_h5p.doctrineParser: + class: Studit\H5PBundle\Service\DoctrineParser + arguments: + [ '@studit_h5p.versionORM' ] + + Studit\H5PBundle\Service\DoctrineParser: '@studit_h5p.doctrineParser' Studit\H5PBundle\Controller\H5PController: autowire: true @@ -109,7 +119,7 @@ services: Studit\H5PBundle\Entity\LibraryRepository: autowire: true - tags: ['doctrine.repository_service'] + tags: ['doctrine.repository_service', '@studit_h5p.doctrineParser'] Studit\H5PBundle\Entity\LibrariesLanguagesRepository: autowire: true diff --git a/composer.json b/composer.json index 56b9c8b..3403d13 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "jorisdugue/h5p-bundle", - "version": "3.0.2", + "version": "3.0.3", "type": "symfony-bundle", "description": "H5P Bundle for Symfony 5, 6 and Symfony 7", "keywords": [