[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/config/default/container/ -> services_notification.yml (source)

   1  services:
   2      notification_manager:
   3          class: phpbb\notification\manager
   4          arguments:
   5              - '@notification.type_collection'
   6              - '@notification.method_collection'
   7              - '@service_container'
   8              - '@user_loader'
   9              - '@dispatcher'
  10              - '@dbal.conn'
  11              - '@cache'
  12              - '@language'
  13              - '@user'
  14              - '%tables.notification_types%'
  15              - '%tables.user_notifications%'
  16  
  17  # ----- Notification's types -----
  18  # Service MUST NOT be shared for all the plugins to work.
  19      notification.type_collection:
  20          class: phpbb\di\service_collection
  21          arguments:
  22              - '@service_container'
  23          tags:
  24              - { name: service_collection, tag: notification.type }
  25  
  26      notification.type.base:
  27          abstract: true
  28          arguments:
  29              - '@dbal.conn'
  30              - '@language'
  31              - '@user'
  32              - '@auth'
  33              - '%core.root_path%'
  34              - '%core.php_ext%'
  35              - '%tables.user_notifications%'
  36  
  37      notification.type.admin_activate_user:
  38          class: phpbb\notification\type\admin_activate_user
  39          shared: false
  40          parent: notification.type.base
  41          calls:
  42              - [set_user_loader, ['@user_loader']]
  43              - [set_config, ['@config']]
  44          tags:
  45              - { name: notification.type }
  46  
  47      notification.type.approve_post:
  48          class: phpbb\notification\type\approve_post
  49          shared: false
  50          parent: notification.type.post
  51          tags:
  52              - { name: notification.type }
  53  
  54      notification.type.approve_topic:
  55          class: phpbb\notification\type\approve_topic
  56          shared: false
  57          parent: notification.type.topic
  58          tags:
  59              - { name: notification.type }
  60  
  61      notification.type.bookmark:
  62          class: phpbb\notification\type\bookmark
  63          shared: false
  64          parent: notification.type.post
  65          tags:
  66              - { name: notification.type }
  67  
  68      notification.type.disapprove_post:
  69          class: phpbb\notification\type\disapprove_post
  70          shared: false
  71          parent: notification.type.post
  72          tags:
  73              - { name: notification.type }
  74  
  75      notification.type.disapprove_topic:
  76          class: phpbb\notification\type\disapprove_topic
  77          shared: false
  78          parent: notification.type.topic
  79          tags:
  80              - { name: notification.type }
  81  
  82      notification.type.group_request:
  83          class: phpbb\notification\type\group_request
  84          shared: false
  85          parent: notification.type.base
  86          calls:
  87              - [set_user_loader, ['@user_loader']]
  88          tags:
  89              - { name: notification.type }
  90  
  91      notification.type.group_request_approved:
  92          class: phpbb\notification\type\group_request_approved
  93          shared: false
  94          parent: notification.type.base
  95          tags:
  96              - { name: notification.type }
  97  
  98      notification.type.pm:
  99          class: phpbb\notification\type\pm
 100          shared: false
 101          parent: notification.type.base
 102          calls:
 103              - [set_user_loader, ['@user_loader']]
 104              - [set_config, ['@config']]
 105          tags:
 106              - { name: notification.type }
 107  
 108      notification.type.post:
 109          class: phpbb\notification\type\post
 110          shared: false
 111          parent: notification.type.base
 112          calls:
 113              - [set_user_loader, ['@user_loader']]
 114              - [set_config, ['@config']]
 115          tags:
 116              - { name: notification.type }
 117  
 118      notification.type.post_in_queue:
 119          class: phpbb\notification\type\post_in_queue
 120          shared: false
 121          parent: notification.type.post
 122          tags:
 123              - { name: notification.type }
 124  
 125      notification.type.quote:
 126          class: phpbb\notification\type\quote
 127          shared: false
 128          parent: notification.type.post
 129          calls:
 130              - [set_utils, ['@text_formatter.utils']]
 131          tags:
 132              - { name: notification.type }
 133  
 134      notification.type.report_pm:
 135          class: phpbb\notification\type\report_pm
 136          shared: false
 137          parent: notification.type.pm
 138          tags:
 139              - { name: notification.type }
 140  
 141      notification.type.report_pm_closed:
 142          class: phpbb\notification\type\report_pm_closed
 143          shared: false
 144          parent: notification.type.pm
 145          tags:
 146              - { name: notification.type }
 147  
 148      notification.type.report_post:
 149          class: phpbb\notification\type\report_post
 150          shared: false
 151          parent: notification.type.post
 152          tags:
 153              - { name: notification.type }
 154  
 155      notification.type.report_post_closed:
 156          class: phpbb\notification\type\report_post_closed
 157          shared: false
 158          parent: notification.type.post
 159          tags:
 160              - { name: notification.type }
 161  
 162      notification.type.topic:
 163          class: phpbb\notification\type\topic
 164          shared: false
 165          parent: notification.type.base
 166          calls:
 167              - [set_user_loader, ['@user_loader']]
 168              - [set_config, ['@config']]
 169          tags:
 170              - { name: notification.type }
 171  
 172      notification.type.topic_in_queue:
 173          class: phpbb\notification\type\topic_in_queue
 174          shared: false
 175          parent: notification.type.topic
 176          tags:
 177              - { name: notification.type }
 178  
 179      notification.type.forum:
 180          class: phpbb\notification\type\forum
 181          shared: false
 182          parent: notification.type.post
 183          calls:
 184              - [set_user_loader, ['@user_loader']]
 185              - [set_config, ['@config']]
 186          tags:
 187              - { name: notification.type }
 188  
 189  # ----- Notification's methods -----
 190  # Service MUST NOT be shared for all the plugins to work.
 191      notification.method_collection:
 192          class: phpbb\di\service_collection
 193          arguments:
 194              - '@service_container'
 195          tags:
 196              - { name: service_collection, tag: notification.method }
 197  
 198      notification.method.board:
 199          class: phpbb\notification\method\board
 200          shared: false
 201          arguments:
 202              - '@user_loader'
 203              - '@dbal.conn'
 204              - '@cache.driver'
 205              - '@user'
 206              - '@config'
 207              - '%tables.notification_types%'
 208              - '%tables.notifications%'
 209          tags:
 210              - { name: notification.method }
 211  
 212      notification.method.email:
 213          class: phpbb\notification\method\email
 214          shared: false
 215          arguments:
 216              - '@user_loader'
 217              - '@user'
 218              - '@config'
 219              - '@dbal.conn'
 220              - '%core.root_path%'
 221              - '%core.php_ext%'
 222              - '%tables.notification_emails%'
 223          tags:
 224              - { name: notification.method }
 225  
 226      notification.method.jabber:
 227          class: phpbb\notification\method\jabber
 228          shared: false
 229          arguments:
 230              - '@user_loader'
 231              - '@user'
 232              - '@config'
 233              - '%core.root_path%'
 234              - '%core.php_ext%'
 235          tags:
 236              - { name: notification.method }


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1