check_status(); } public function check_status() { dispatch_sync(new ContainerStatusJob($this->service->server)); $this->service->refresh(); } public function deploy() { $this->service->parse(); $activity = StartService::run($this->service); $this->emit('newMonitorActivity', $activity->id); } public function stop() { StopService::run($this->service); $this->service->refresh(); } }