stof_doctrine_extensions.yaml 1.2 KB

123456789101112131415161718192021222324252627282930
  1. stof_doctrine_extensions:
  2. class:
  3. # tree: MyBundle\TreeListener
  4. # timestampable: MyBundle\TimestampableListener
  5. # blameable: ~
  6. # sluggable: ~
  7. # translatable: ~
  8. # loggable: ~
  9. # softdeleteable: ~
  10. # uploadable: ~
  11. default_locale: en_US
  12. # Only used if you activated the Uploadable extension
  13. uploadable:
  14. # Default file path: This is one of the three ways you can configure the path for the Uploadable extension
  15. default_file_path: "%kernel.root_dir%/../web/uploads"
  16. # Mime type guesser class: Optional. By default, we provide an adapter for the one present in the HttpFoundation component of Symfony
  17. mime_type_guesser_class: Stof\DoctrineExtensionsBundle\Uploadable\MimeTypeGuesserAdapter
  18. # Default file info class implementing FileInfoInterface: Optional. By default we provide a class which is prepared to receive an UploadedFile instance.
  19. default_file_info_class: Stof\DoctrineExtensionsBundle\Uploadable\UploadedFileInfo
  20. orm:
  21. default:
  22. loggable: true
  23. timestampable: true
  24. tree: false # not needed: no listener is enabled by default
  25. mongodb:
  26. default: ~