����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 18.191.53.120 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/cbt.bofirm.com/vendor/laravel/jetstream/src/Http/Livewire/ |
Upload File : |
<?php namespace Laravel\Jetstream\Http\Livewire; use Illuminate\Support\Facades\Auth; use Laravel\Jetstream\Contracts\UpdatesTeamNames; use Livewire\Component; class UpdateTeamNameForm extends Component { /** * The team instance. * * @var mixed */ public $team; /** * The component's state. * * @var array */ public $state = []; /** * Mount the component. * * @param mixed $team * @return void */ public function mount($team) { $this->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'); } }