芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/vendor/laravel/jetstream/src/Http/Livewire/UpdateTeamNameForm.php
team = $team; $this->state = $team->withoutRelations()->toArray(); } /** * Update the team's name. * * @param \Laravel\Jetstream\Contracts\UpdatesTeamNames $updater * @return void */ public function updateTeamName(UpdatesTeamNames $updater) { $this->resetErrorBag(); $updater->update($this->user, $this->team, $this->state); $this->emit('saved'); $this->emit('refresh-navigation-menu'); } /** * Get the current user of the application. * * @return mixed */ public function getUserProperty() { return Auth::user(); } /** * Render the component. * * @return \Illuminate\View\View */ public function render() { return view('teams.update-team-name-form'); } }