Lines Matching refs:config
29 private $config;
32 $this->config = new Config($this);
37 if (!$this->config->webhook) {
109 if (!$this->config->isValidNamespace($event->getNamespace())) {
117 $formatter = new Formatter($this->config);
119 $this->submitPayload($this->config->webhook, $formatted);
124 if ($eventType === 'create' && $this->config->notify_create) {
126 } elseif ($eventType === 'edit' && $this->config->notify_edit) {
128 } elseif ($eventType === 'edit minor' && $this->config->notify_edit && $this->config->notify_edit_minor) {
130 } elseif ($eventType === 'delete' && $this->config->notify_delete) {
132 } elseif ($eventType === 'rename' && $this->config->notify_create && $this->config->notify_delete) {