parameters = getRouteParameters(); } public function start() { if ($this->database->type() === 'postgresql') { $activity = resolve(StartPostgresql::class)($this->database->destination->server, $this->database); $this->emit('newMonitorActivity', $activity->id); } } }