diff --git a/src/Illuminate/Contracts/Auth/Guard.php b/src/Illuminate/Contracts/Auth/Guard.php index 2a2ed3d9a5e4..809ffc492692 100644 --- a/src/Illuminate/Contracts/Auth/Guard.php +++ b/src/Illuminate/Contracts/Auth/Guard.php @@ -47,4 +47,11 @@ public function validate(array $credentials = []); * @return void */ public function setUser(Authenticatable $user); + + /** + * Determine if the guard has a user instance. + * + * @return bool + */ + public function hasUser(); }