services: # Overload All Repositories FileManagerBundle\Repository\: resource: '../../Repository' autowire: true tags: ['doctrine.repository_service'] # OverLoad all Controllers FileManagerBundle\Controller\: resource: '../../Controller' autowire: true tags: ['controller.service_arguments'] net15.files.info.details: class: FileManagerBundle\Service\FileItemInfoService public: true arguments: [] net15.files.antivirus: class: FileManagerBundle\Service\AntivirusService public: true arguments: [] net15.files.crypto: class: FileManagerBundle\Service\FileItemCrypto public: true arguments: [] net15.files.rest: class: FileManagerBundle\Service\RestApiFileManagerService public: true arguments: - '@request_stack' - '@net15.files.manager.permission' - '@router' - '@net15.restifier.process' net15.files.process: class: FileManagerBundle\Service\FileManagerProcessService public: true arguments: - '@doctrine.orm.entity_manager' - '@net15.files.manager.main' - '@security.token_storage' - '%kernel.root_dir%' - '@router' net15.files.manager.permission: class: FileManagerBundle\Service\FileManagerPermissionService public: true arguments: - '@net15.core.session' - '@security.token_storage' - '@doctrine.orm.entity_manager' - '@net15.groups.roles' net15.files.thumbnail.main: class: FileManagerBundle\Service\ThumbnailsService public: true arguments: ['@service_container', '%env(THUMBNAIL_WAREHOUSE)%'] net15.files.manager.main: class: FileManagerBundle\Service\FileManagerMainService public: true arguments: - '@doctrine.orm.entity_manager' - '@request_stack' - '@security.token_storage' - '%env(DATA_WAREHOUSE)%' - '%env(DATA_QUEUE)%' - '@net15.settingsmanager.manager' - '@net15.files.manager.permission' - '@net15.user.manager' - '@net15.files.thumbnail.main' - '@net15.files.antivirus' - '@net15.groups.manager' #event #create boxes on user created net15.event.user.created.processor: class: FileManagerBundle\Processor\UserCreatedProcessor public: true arguments: - '@net15.files.manager.main' net15.event.user.created.listener: class: FileManagerBundle\Listeners\UserCreatedListener public: true arguments: - '@net15.user.box.manager' tags: - { name: kernel.event_listener, event: user.created, method: processCreation} net15.file.upload.manager: class: FileManagerBundle\Service\FileUploadManager public: true arguments: $entityManager: '@doctrine.orm.entity_manager' $fileItemManager: '@net15.file.item.manager' $form_forge_warehouse: '%env(FORM_FORGE_WAREHOUSE)%' $container: '@service_container' $avatar_warehouse: '%env(AVATAR_WAREHOUSE)%' $mogrifyExe: '%env(MOGRIFY_EXE)%' $kernel_project_dir: '%kernel.project_dir%' $translator: '@translator' $requestStack: '@request_stack' net15.trash.box.manager: class: FileManagerBundle\Service\TrashBoxManager public: true arguments: $entityManager: '@doctrine.orm.entity_manager' $container: '@service_container' net15.user.box.manager: class: FileManagerBundle\Service\UserBoxManager public: true arguments: $entityManager: '@doctrine.orm.entity_manager' $container: '@service_container' net15.system.box.manager: class: FileManagerBundle\Service\SystemBoxManager public: true arguments: ['@service_container', '%env(PHOTO_WAREHOUSE)%'] net15.box.manager: class: FileManagerBundle\Service\BoxManager public: true arguments: ['@service_container', '%env(PHOTO_WAREHOUSE)%'] net15.file.item.manager: class: FileManagerBundle\Service\FileItemManager public: true arguments: $entityManager: '@doctrine.orm.entity_manager' $file_manager_warehouse: '%env(FILE_MANAGER_WAREHOUSE)%' net15.directory.manager: class: FileManagerBundle\Service\DirectoryManager public: true arguments: $entityManager: '@doctrine.orm.entity_manager' net15.avatar.manager: class: FileManagerBundle\Service\AvatarManager public: true arguments: $entityManager: '@doctrine.orm.entity_manager' $fileManagerMainService: '@net15.files.manager.main' $fileManagerPermissionService: '@net15.files.manager.permission' $systemFileManager: '@net15.system.file.manager' $systemBoxManager: '@net15.system.box.manager' net15.system.file.manager: class: FileManagerBundle\Service\SystemFilesManager public: true arguments: $settingManager: '@net15.settingsmanager.manager' $fileManagerMainService: '@net15.files.manager.main' net15.photos.box.manager: class: FileManagerBundle\Service\Boxes\PhotoBoxManager public: true arguments: ['@service_container', '%env(PHOTO_WAREHOUSE)%']