original_string: public function handle(InviteUserCommand $command)
      {
          foreach ($command->emails as $email) {
              $invite = Invite::create([
                  'email' => $email,
              ]);
  
              $invite->notify(new InviteUserNotification());
  
              event(new UserWasInvitedEvent($invite));
          }
      }
code: public function handle(InviteUserCommand $command)
      {
          foreach ($command->emails as $email) {
              $invite = Invite::create([
                  'email' => $email,
              ]);
  
              $invite->notify(new InviteUserNotification());
  
              event(new UserWasInvitedEvent($invite));
          }
      }
code_tokens: public function handle ( InviteUserCommand $ command ) { foreach ( $ command -> emails as $ email ) { $ invite = Invite :: create ( [ 'email' => $ email , ] ) ; $ invite -> notify ( new InviteUserNotification ( ) ) ; event ( new UserWasInvitedEvent ( $ invite ) ) ; } }
docstring: Handle the invite team member command.
  
  @param \CachetHQ\Cachet\Bus\Commands\User\InviteUserCommand $command
  
  @return void
docstring_tokens: Handle the invite team member command .