Skip to content

Commit

Permalink
fix(chore): resolve problem of missing declaration of file into servi…
Browse files Browse the repository at this point in the history
…ces.yml
  • Loading branch information
jorisdugue committed Dec 9, 2024
1 parent fe90047 commit 0cb96ad
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
12 changes: 11 additions & 1 deletion Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down

0 comments on commit 0cb96ad

Please sign in to comment.