services: # TicketSupportBundle\Repository\TicketItemRepository: # autowire: true # tags: ['doctrine.repository_service'] # # TicketSupportBundle\Repository\TicketMessageRepository: # autowire: true # tags: ['doctrine.repository_service'] TicketSupportBundle\Repository\: resource: '../../Repository' autowire: true tags: ['doctrine.repository_service'] net15.ticket.bundle.manager: class: TicketSupportBundle\Service\TicketBundleManager public: true arguments: - '@doctrine.orm.entity_manager' - '@net15.restifier.process' - '@security.token_storage' - '@net15.settingsmanager.manager' - '@net15.files.manager.main' - '@net15.files.manager.permission' - '@net15.groups.manager' net15.ticket.tickets.manager: class: TicketSupportBundle\Service\TicketItemManager public: true arguments: - '@doctrine.orm.entity_manager' - '@net15.restifier.process' - '@security.token_storage' - '@net15.ticket.logs.manager' - '@net15.ticket.bundle.manager' - '@net15.ticket.messages.manager' - '@event_dispatcher' - '@net15.company.manager' - '@net15.user.manager' net15.ticket.intervenants.manager: class: TicketSupportBundle\Service\TicketIntervenantManager public: true net15.ticket.messages.manager: class: TicketSupportBundle\Service\TicketMessageManager public: true arguments: - '@doctrine.orm.entity_manager' - '@net15.restifier.process' - '@security.token_storage' - '@net15.ticket.logs.manager' - '@event_dispatcher' net15.ticket.logs.manager: class: TicketSupportBundle\Service\TicketItemLogManager public: true arguments: - '@doctrine.orm.entity_manager' - '@net15.restifier.process' - '@security.token_storage' net15.ticket.mail.notification: class: TicketSupportBundle\Service\MailNotificationManager public: true arguments: - '@doctrine.orm.entity_manager' - '@net15.restifier.process' - '@security.token_storage' - '@net15.core.email_manager' - '@templating' net15.ticket.listener: class : TicketSupportBundle\Service\TicketCreateListener tags: # Create TicketItem Event - { name: kernel.event_listener, event: net15.form_forge_bundle.reason_response.create, method: createTicketItem } # Create log of ticketItem - { name: kernel.event_listener, event: net15.ticket_support_bundle.ticket_item_log.create, method: createLog } - { name: kernel.event_listener, event: net15.ticket_support_bundle.ticket_item_log.close, method: closeTicketLog } - { name: kernel.event_listener, event: net15.ticket_support_bundle.ticket_item_log.resolve, method: resolveTicketLog } # Logs of editing intervening - { name: kernel.event_listener, event: net15.ticket_support_bundle.ticket_item_log.change_intervening, method: changeInterveningLog } - { name: kernel.event_listener, event: net15.ticket_support_bundle.ticket_item_log.remove_intervening, method: removeInterveningLog } # Logs of editing messages - { name: kernel.event_listener, event: net15.ticket_support_bundle.ticket_item_log.add_message, method: addMessageLog } - { name: kernel.event_listener, event: net15.ticket_support_bundle.ticket_item_log.remove_message, method: removeMessageLog } # Logs of editing service - { name: kernel.event_listener, event: net15.ticket_support_bundle.ticket_item_log.change_service, method: changeServiceLog } - { name: kernel.event_listener, event: net15.ticket_support_bundle.ticket_item_log.remove_service, method: removeServiceLog } arguments: - '@net15.ticket.tickets.manager' - '@security.token_storage'