You are here

flysystem.services.yml in Flysystem 3.x

File

flysystem.services.yml
View source
  1. services:
  2. cache.flysystem:
  3. class: Drupal\Core\Cache\CacheBackendInterface
  4. tags:
  5. - { name: cache.bin }
  6. factory: 'cache_factory:get'
  7. arguments: [flysystem]
  8. logger.channel.flysystem:
  9. parent: logger.channel_base
  10. arguments: ['flysystem']
  11. plugin.manager.flysystem:
  12. class: Drupal\flysystem\Plugin\FlysystemPluginManager
  13. arguments: ['@container.namespaces', '@cache.discovery', '@module_handler']
  14. flysystem_factory:
  15. class: Drupal\flysystem\FlysystemFactory
  16. arguments: ['@plugin.manager.flysystem', '@stream_wrapper_manager', '@cache.flysystem', '@event_dispatcher']
  17. path_processor.flysystem:
  18. class: Drupal\flysystem\PathProcessor\FlysystemPathProcessor
  19. tags:
  20. - { name: path_processor_inbound, priority: 400 }
  21. flysystem.ensure_subscriber:
  22. class: Drupal\flysystem\EventSubscriber\EnsureSubscriber
  23. arguments: ['@logger.channel.flysystem']
  24. tags:
  25. - { name: event_subscriber }