# Doctrine configuration
doctrine:
+ # Dbal configuration
+ dbal:
+ charset: 'utf8mb4'
+ default_table_options:
+ charset: 'utf8mb4'
+ collate: 'utf8mb4_unicode_ci'
# Orm configuration
orm:
+ # Controler resolver
+ controller_resolver:
+ auto_mapping: false
# Replace repository factory
repository_factory: 'Rapsys\BlogBundle\Factory\RepositoryFactory'
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:
- pattern: ^/(_(profiler|wdt)|css|images|js)/
+ pattern: '^/(_(profiler|wdt)|css|images|js)/'
security: false
main: