public function handle(ClaimInviteCommand $command)
    {
        $invite = $command->invite;

        $invite->update(['claimed_at' => Carbon::now()]);

        event(new InviteWasClaimedEvent($invite));
    }
public function handle(ClaimInviteCommand $command)
    {
        $invite = $command->invite;

        $invite->update(['claimed_at' => Carbon::now()]);

        event(new InviteWasClaimedEvent($invite));
    }
public function handle ( ClaimInviteCommand $ command ) { $ invite = $ command -> invite ; $ invite -> update ( [ 'claimed_at' => Carbon :: now ( ) ] ) ; event ( new InviteWasClaimedEvent ( $ invite ) ) ; }
Handle the claim invite command.

@param \CachetHQ\Cachet\Bus\Commands\Invite\ClaimInviteCommand $command

@return void
Handle the claim invite command .