public function reloadApp() { $this->loadApp(); $this->client = new Client($this->app, [], null, $this->cookieJar); $this->client->followRedirects(); }