69 lines
1.9 KiB
YAML
69 lines
1.9 KiB
YAML
imports:
|
|
- { resource: tables.yml }
|
|
|
|
services:
|
|
dmzx.mchat.admin.controller:
|
|
class: dmzx\mchat\controller\admin_controller
|
|
arguments:
|
|
- '@dmzx.mchat.functions_mchat'
|
|
- '@config'
|
|
- '@template'
|
|
- '@log'
|
|
- '@user'
|
|
- '@dbal.conn'
|
|
- '@cache'
|
|
- '@request'
|
|
- '@ext.manager'
|
|
- '%core.root_path%'
|
|
- '%core.php_ext%'
|
|
- '%dmzx.mchat.table.mchat_config%'
|
|
dmzx.mchat.controller:
|
|
class: dmzx\mchat\controller\mchat
|
|
arguments:
|
|
- '@dmzx.mchat.render_helper'
|
|
- '@request'
|
|
dmzx.mchat.render_helper:
|
|
class: dmzx\mchat\core\render_helper
|
|
arguments:
|
|
- '@dmzx.mchat.functions_mchat'
|
|
- '@config'
|
|
- '@controller.helper'
|
|
- '@template'
|
|
- '@log'
|
|
- '@user'
|
|
- '@auth'
|
|
- '@dbal.conn'
|
|
- '@pagination'
|
|
- '@request'
|
|
- '@dispatcher'
|
|
- '%core.root_path%'
|
|
- '%core.php_ext%'
|
|
- '%dmzx.mchat.table.mchat%'
|
|
dmzx.mchat.functions_mchat:
|
|
class: dmzx\mchat\core\functions_mchat
|
|
arguments:
|
|
- '@config'
|
|
- '@template'
|
|
- '@user'
|
|
- '@auth'
|
|
- '@log'
|
|
- '@dbal.conn'
|
|
- '@cache'
|
|
- '%core.root_path%'
|
|
- '%core.php_ext%'
|
|
- '%dmzx.mchat.table.mchat%'
|
|
- '%dmzx.mchat.table.mchat_config%'
|
|
- '%dmzx.mchat.table.mchat_sessions%'
|
|
dmzx.mchat.listener:
|
|
class: dmzx\mchat\event\listener
|
|
arguments:
|
|
- '@dmzx.mchat.functions_mchat'
|
|
- '@dmzx.mchat.render_helper'
|
|
- '@auth'
|
|
- '@controller.helper'
|
|
- '@template'
|
|
- '@user'
|
|
- '%core.php_ext%'
|
|
tags:
|
|
- { name: event.listener }
|