[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/config/ -> 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              - @config
  10              - @dispatcher
  11              - @dbal.conn
  12              - @cache
  13              - @user
  14              - %core.root_path%
  15              - %core.php_ext%
  16              - %tables.notification_types%
  17              - %tables.notifications%
  18              - %tables.user_notifications%
  19  
  20  # ----- Notification's types -----
  21  # Scope MUST be prototype for all the plugins to work.
  22      notification.type_collection:
  23          class: phpbb\di\service_collection
  24          arguments:
  25              - @service_container
  26          tags:
  27              - { name: service_collection, tag: notification.type }
  28  
  29      notification.type.approve_post:
  30          class: phpbb\notification\type\approve_post
  31          scope: prototype
  32          arguments:
  33              - @user_loader
  34              - @dbal.conn
  35              - @cache.driver
  36              - @user
  37              - @auth
  38              - @config
  39              - %core.root_path%
  40              - %core.php_ext%
  41              - %tables.notification_types%
  42              - %tables.notifications%
  43              - %tables.user_notifications%
  44          tags:
  45              - { name: notification.type }
  46  
  47      notification.type.approve_topic:
  48          class: phpbb\notification\type\approve_topic
  49          scope: prototype
  50          arguments:
  51              - @user_loader
  52              - @dbal.conn
  53              - @cache.driver
  54              - @user
  55              - @auth
  56              - @config
  57              - %core.root_path%
  58              - %core.php_ext%
  59              - %tables.notification_types%
  60              - %tables.notifications%
  61              - %tables.user_notifications%
  62          tags:
  63              - { name: notification.type }
  64  
  65      notification.type.bookmark:
  66          class: phpbb\notification\type\bookmark
  67          scope: prototype
  68          arguments:
  69              - @user_loader
  70              - @dbal.conn
  71              - @cache.driver
  72              - @user
  73              - @auth
  74              - @config
  75              - %core.root_path%
  76              - %core.php_ext%
  77              - %tables.notification_types%
  78              - %tables.notifications%
  79              - %tables.user_notifications%
  80          tags:
  81              - { name: notification.type }
  82  
  83      notification.type.disapprove_post:
  84          class: phpbb\notification\type\disapprove_post
  85          scope: prototype
  86          arguments:
  87              - @user_loader
  88              - @dbal.conn
  89              - @cache.driver
  90              - @user
  91              - @auth
  92              - @config
  93              - %core.root_path%
  94              - %core.php_ext%
  95              - %tables.notification_types%
  96              - %tables.notifications%
  97              - %tables.user_notifications%
  98          tags:
  99              - { name: notification.type }
 100  
 101      notification.type.disapprove_topic:
 102          class: phpbb\notification\type\disapprove_topic
 103          scope: prototype
 104          arguments:
 105              - @user_loader
 106              - @dbal.conn
 107              - @cache.driver
 108              - @user
 109              - @auth
 110              - @config
 111              - %core.root_path%
 112              - %core.php_ext%
 113              - %tables.notification_types%
 114              - %tables.notifications%
 115              - %tables.user_notifications%
 116          tags:
 117              - { name: notification.type }
 118  
 119      notification.type.group_request:
 120          class: phpbb\notification\type\group_request
 121          scope: prototype
 122          arguments:
 123              - @user_loader
 124              - @dbal.conn
 125              - @cache.driver
 126              - @user
 127              - @auth
 128              - @config
 129              - %core.root_path%
 130              - %core.php_ext%
 131              - %tables.notification_types%
 132              - %tables.notifications%
 133              - %tables.user_notifications%
 134          tags:
 135              - { name: notification.type }
 136  
 137      notification.type.group_request_approved:
 138          class: phpbb\notification\type\group_request_approved
 139          scope: prototype
 140          arguments:
 141              - @user_loader
 142              - @dbal.conn
 143              - @cache.driver
 144              - @user
 145              - @auth
 146              - @config
 147              - %core.root_path%
 148              - %core.php_ext%
 149              - %tables.notification_types%
 150              - %tables.notifications%
 151              - %tables.user_notifications%
 152          tags:
 153              - { name: notification.type }
 154  
 155      notification.type.pm:
 156          class: phpbb\notification\type\pm
 157          scope: prototype
 158          arguments:
 159              - @user_loader
 160              - @dbal.conn
 161              - @cache.driver
 162              - @user
 163              - @auth
 164              - @config
 165              - %core.root_path%
 166              - %core.php_ext%
 167              - %tables.notification_types%
 168              - %tables.notifications%
 169              - %tables.user_notifications%
 170          tags:
 171              - { name: notification.type }
 172  
 173      notification.type.post:
 174          class: phpbb\notification\type\post
 175          scope: prototype
 176          arguments:
 177              - @user_loader
 178              - @dbal.conn
 179              - @cache.driver
 180              - @user
 181              - @auth
 182              - @config
 183              - %core.root_path%
 184              - %core.php_ext%
 185              - %tables.notification_types%
 186              - %tables.notifications%
 187              - %tables.user_notifications%
 188          tags:
 189              - { name: notification.type }
 190  
 191      notification.type.post_in_queue:
 192          class: phpbb\notification\type\post_in_queue
 193          scope: prototype
 194          arguments:
 195              - @user_loader
 196              - @dbal.conn
 197              - @cache.driver
 198              - @user
 199              - @auth
 200              - @config
 201              - %core.root_path%
 202              - %core.php_ext%
 203              - %tables.notification_types%
 204              - %tables.notifications%
 205              - %tables.user_notifications%
 206          tags:
 207              - { name: notification.type }
 208  
 209      notification.type.quote:
 210          class: phpbb\notification\type\quote
 211          scope: prototype
 212          arguments:
 213              - @user_loader
 214              - @dbal.conn
 215              - @cache.driver
 216              - @user
 217              - @auth
 218              - @config
 219              - %core.root_path%
 220              - %core.php_ext%
 221              - %tables.notification_types%
 222              - %tables.notifications%
 223              - %tables.user_notifications%
 224          tags:
 225              - { name: notification.type }
 226  
 227      notification.type.report_pm:
 228          class: phpbb\notification\type\report_pm
 229          scope: prototype
 230          arguments:
 231              - @user_loader
 232              - @dbal.conn
 233              - @cache.driver
 234              - @user
 235              - @auth
 236              - @config
 237              - %core.root_path%
 238              - %core.php_ext%
 239              - %tables.notification_types%
 240              - %tables.notifications%
 241              - %tables.user_notifications%
 242          tags:
 243              - { name: notification.type }
 244  
 245      notification.type.report_pm_closed:
 246          class: phpbb\notification\type\report_pm_closed
 247          scope: prototype
 248          arguments:
 249              - @user_loader
 250              - @dbal.conn
 251              - @cache.driver
 252              - @user
 253              - @auth
 254              - @config
 255              - %core.root_path%
 256              - %core.php_ext%
 257              - %tables.notification_types%
 258              - %tables.notifications%
 259              - %tables.user_notifications%
 260          tags:
 261              - { name: notification.type }
 262  
 263      notification.type.report_post:
 264          class: phpbb\notification\type\report_post
 265          scope: prototype
 266          arguments:
 267              - @user_loader
 268              - @dbal.conn
 269              - @cache.driver
 270              - @user
 271              - @auth
 272              - @config
 273              - %core.root_path%
 274              - %core.php_ext%
 275              - %tables.notification_types%
 276              - %tables.notifications%
 277              - %tables.user_notifications%
 278          tags:
 279              - { name: notification.type }
 280  
 281      notification.type.report_post_closed:
 282          class: phpbb\notification\type\report_post_closed
 283          scope: prototype
 284          arguments:
 285              - @user_loader
 286              - @dbal.conn
 287              - @cache.driver
 288              - @user
 289              - @auth
 290              - @config
 291              - %core.root_path%
 292              - %core.php_ext%
 293              - %tables.notification_types%
 294              - %tables.notifications%
 295              - %tables.user_notifications%
 296          tags:
 297              - { name: notification.type }
 298  
 299      notification.type.topic:
 300          class: phpbb\notification\type\topic
 301          scope: prototype
 302          arguments:
 303              - @user_loader
 304              - @dbal.conn
 305              - @cache.driver
 306              - @user
 307              - @auth
 308              - @config
 309              - %core.root_path%
 310              - %core.php_ext%
 311              - %tables.notification_types%
 312              - %tables.notifications%
 313              - %tables.user_notifications%
 314          tags:
 315              - { name: notification.type }
 316  
 317      notification.type.topic_in_queue:
 318          class: phpbb\notification\type\topic_in_queue
 319          scope: prototype
 320          arguments:
 321              - @user_loader
 322              - @dbal.conn
 323              - @cache.driver
 324              - @user
 325              - @auth
 326              - @config
 327              - %core.root_path%
 328              - %core.php_ext%
 329              - %tables.notification_types%
 330              - %tables.notifications%
 331              - %tables.user_notifications%
 332          tags:
 333              - { name: notification.type }
 334  
 335      notification.type.admin_activate_user:
 336          class: phpbb\notification\type\admin_activate_user
 337          scope: prototype
 338          arguments:
 339              - @user_loader
 340              - @dbal.conn
 341              - @cache.driver
 342              - @user
 343              - @auth
 344              - @config
 345              - %core.root_path%
 346              - %core.php_ext%
 347              - %tables.notification_types%
 348              - %tables.notifications%
 349              - %tables.user_notifications%
 350          tags:
 351              - { name: notification.type }
 352              
 353  # ----- Notification's methods -----
 354  # Scope MUST be prototype for all the plugins to work.
 355      notification.method_collection:
 356          class: phpbb\di\service_collection
 357          arguments:
 358              - @service_container
 359          tags:
 360              - { name: service_collection, tag: notification.method }
 361  
 362      notification.method.email:
 363          class: phpbb\notification\method\email
 364          scope: prototype
 365          arguments:
 366              - @user_loader
 367              - @dbal.conn
 368              - @cache.driver
 369              - @user
 370              - @auth
 371              - @config
 372              - %core.root_path%
 373              - %core.php_ext%
 374          tags:
 375              - { name: notification.method }
 376  
 377      notification.method.jabber:
 378          class: phpbb\notification\method\jabber
 379          scope: prototype
 380          arguments:
 381              - @user_loader
 382              - @dbal.conn
 383              - @cache.driver
 384              - @user
 385              - @auth
 386              - @config
 387              - %core.root_path%
 388              - %core.php_ext%
 389          tags:
 390              - { name: notification.method }


Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1