123456789101112131415161718192021222324252627282930 |
- stof_doctrine_extensions:
- class:
- # tree: MyBundle\TreeListener
- # timestampable: MyBundle\TimestampableListener
- # blameable: ~
- # sluggable: ~
- # translatable: ~
- # loggable: ~
- # softdeleteable: ~
- # uploadable: ~
- default_locale: en_US
- # Only used if you activated the Uploadable extension
- uploadable:
- # Default file path: This is one of the three ways you can configure the path for the Uploadable extension
- default_file_path: "%kernel.root_dir%/../web/uploads"
- # Mime type guesser class: Optional. By default, we provide an adapter for the one present in the HttpFoundation component of Symfony
- mime_type_guesser_class: Stof\DoctrineExtensionsBundle\Uploadable\MimeTypeGuesserAdapter
- # Default file info class implementing FileInfoInterface: Optional. By default we provide a class which is prepared to receive an UploadedFile instance.
- default_file_info_class: Stof\DoctrineExtensionsBundle\Uploadable\UploadedFileInfo
- orm:
- default:
- loggable: true
- timestampable: true
- tree: false # not needed: no listener is enabled by default
- mongodb:
- default: ~
|