KnpLabs/KnpGaufretteBundle

ResolverInterface gaufrette-extra

TomAMarine opened this issue · 0 comments

Hello,

I have this configuration bundle :

knp_gaufrette:
    stream_wrapper: ~

    adapters:
        data_library_model_image:
            aws_s3:
                service_id: 'aws_s3.client'
                bucket_name: '%aws_s3.bucket%'
                detect_content_type: true
                options:
                    directory: 'data-library/model'
                    acl: 'public-read'

    filesystems:
        data_library_model_image:
            adapter: data_library_model_image

I use Gaufrette which provides me with an alias / service: "gaufrette.data_library_model_image_filesystem".
I would like to replace or override it to implement the "ResolvableFilesystem" (see bundle gaufrette/extra).

How can I get the Filesystem decorator (ResolverInterface) with the "knp_gaufrette.filesystem_map" system?

Thank you !