X-Git-Url: https://git.rapsys.eu/blogbundle/blobdiff_plain/eba201f350cd40d6aac8e6ed5551a3a6088ea3dc..c86e0d71f9c86536280d1706208e28f2346a0688:/Resources/config/packages/rapsys_blog.yaml diff --git a/Resources/config/packages/rapsys_blog.yaml b/Resources/config/packages/rapsys_blog.yaml index cd687a4..660ca0f 100644 --- a/Resources/config/packages/rapsys_blog.yaml +++ b/Resources/config/packages/rapsys_blog.yaml @@ -160,6 +160,12 @@ rapsys_user: # Doctrine configuration doctrine: + # Dbal configuration + dbal: + charset: 'utf8mb4' + default_table_options: + charset: 'utf8mb4' + collate: 'utf8mb4_unicode_ci' # Orm configuration orm: # Replace repository factory @@ -295,6 +301,10 @@ services: Rapsys\BlogBundle\Controller\KeywordController: arguments: [ '@security.authorization_checker', '@service_container', '@rapsys_user.access_decision_manager', '@doctrine', '@rapsys_pack.facebook_util', '@form.factory', '@rapsys_pack.image_util', '@mailer.mailer', '@doctrine.orm.default_entity_manager', '@rapsys_pack.path_package', '@router', '@rapsys_pack.slugger_util', '@security.helper', '@request_stack', '@translator', '@twig' ] tags: [ 'controller.service_arguments' ] + #Register user controller + Rapsys\BlogBundle\Controller\UserController: + arguments: [ '@security.authorization_checker', '@service_container', '@rapsys_user.access_decision_manager', '@doctrine', '@rapsys_pack.facebook_util', '@form.factory', '@rapsys_pack.image_util', '@mailer.mailer', '@doctrine.orm.default_entity_manager', '@rapsys_pack.path_package', '@router', '@rapsys_pack.slugger_util', '@security.helper', '@request_stack', '@translator', '@twig' ] + tags: [ 'controller.service_arguments' ] Rapsys\BlogBundle\Factory\RepositoryFactory: arguments: [ '@request_stack', '@router', '@rapsys_pack.slugger_util', '@translator', '%rapsys_blog.languages%', '%rapsys_blog.locale%' ] #Register blog fixture