-<?php namespace BookStack\Auth\Access;
+<?php
+
+namespace BookStack\Auth\Access;
use BookStack\Auth\User;
use BookStack\Notifications\UserInvite;
/**
* Send an invitation to a user to sign into BookStack
* Removes existing invitation tokens.
+ *
* @param User $user
*/
public function sendInvitation(User $user)
$token = $this->createTokenForUser($user);
$user->notify(new UserInvite($token));
}
-
}