-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwmcontroller_flysystem.services.yml
More file actions
33 lines (28 loc) · 1.32 KB
/
wmcontroller_flysystem.services.yml
File metadata and controls
33 lines (28 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
parameters:
# Backend storage responsible for keeping track of tags and cache entries
wmcontroller.cache.flysystem.backend.storage: wmcontroller.cache.storage.mysql
wmcontroller.cache.flysystem.scheme: local
wmcontroller.cache.flysystem.directory: wmcontroller
services:
wmcontroller.flysystem.filesystem:
class: League\Flysystem\FilesystemInterface
factory: Drupal\wmcontroller_flysystem\FileSystemFactory::create
arguments:
- '@flysystem_factory'
- '%wmcontroller.cache.flysystem.scheme%'
wmcontroller.flysystem.content_storage:
class: Drupal\wmcontroller_flysystem\Storage\ContentStorage
arguments:
- '@wmcontroller.flysystem.filesystem'
- '%wmcontroller.cache.flysystem.directory%'
wmcontroller.cache.flysystem.backend.storage:
class: Drupal\wmcontroller\Service\Cache\Storage\StorageInterface
factory: Drupal\wmcontroller\Service\Factory::create
arguments:
- '@service_container'
- '%wmcontroller.cache.flysystem.backend.storage%'
wmcontroller.cache.storage.flysystem:
class: Drupal\wmcontroller_flysystem\Storage\FlySystemStorage
arguments:
- '@wmcontroller.cache.flysystem.backend.storage'
- '@wmcontroller.flysystem.content_storage'