]> Raphaƫl G. Git Repositories - blogbundle/blobdiff - Resources/config/packages/rapsys_blog.yaml
Function findByIdAsArray return null when user is not found
[blogbundle] / Resources / config / packages / rapsys_blog.yaml
index 5511844d5262a5d5527ef2c64a672fcd5dc66a44..a6181c2ff5daf734e082a1d93d2afc437e7cae80 100644 (file)
@@ -160,6 +160,12 @@ rapsys_user:
 
 # Doctrine configuration
 doctrine:
 
 # Doctrine configuration
 doctrine:
+    # Dbal configuration
+    dbal:
+        charset: 'utf8mb4'
+        default_table_options:
+            charset: 'utf8mb4'
+            collate: 'utf8mb4_unicode_ci'
     # Orm configuration
     orm:
         # Replace repository factory
     # Orm configuration
     orm:
         # Replace repository factory
@@ -208,14 +214,14 @@ security:
     providers:
         database:
             entity:
     providers:
         database:
             entity:
-                class: Rapsys\BlogBundle\Entity\User
-                property: mail
+                class: 'Rapsys\BlogBundle\Entity\User'
+                property: 'mail'
 
     # Set firewall
     firewalls:
         # Disables authentication for assets and the profiler, adapt it according to your needs
         dev:
 
     # Set firewall
     firewalls:
         # Disables authentication for assets and the profiler, adapt it according to your needs
         dev:
-            pattern: ^/(_(profiler|wdt)|css|images|js)/
+            pattern: '^/(_(profiler|wdt)|css|images|js)/'
             security: false
 
         main:
             security: false
 
         main: