Symfony Flex support
Bukashk0zzz opened this issue · 1 comments
Bukashk0zzz commented
Now I use this bundle in Symfony flex project and to run this bundle I need put in my service config this setting:
Monolog\Logger: '@Psr\Log\LoggerInterface'
Symfony\Component\PropertyAccess\PropertyAccessor: '@Symfony\Component\PropertyAccess\PropertyAccessorInterface'
Vich\UploaderBundle\Storage\StorageInterface: '@vich_uploader.storage'
Vich\UploaderBundle\Storage\FlysystemStorage: '@vich_uploader.storage.flysystem'
Vich\UploaderBundle\Handler\DownloadHandler: '@vich_uploader.download_handler'
Vich\UploaderBundle\Templating\Helper\UploaderHelper: '@vich_uploader.templating.helper.uploader_helper'
Fresh\VichUploaderSerializationBundle\EventListener\JmsSerializerSubscriber:
arguments:
$annotationReader: '@Doctrine\Common\Annotations\Reader'
tags:
- 'jms_serializer.event_subscriber'
- { name: monolog.logger, channel: vich_uploader_serialization }
I think we can make life better if change __construct parameters in JmsSerializerSubscriber to interfaces. What you think?
fre5h commented
Fixed in 2.1.0