Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(chore): missing declaration in service.yml #61

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading