From 20a961c445fb894907236daf612f86cfe6cd8b91 Mon Sep 17 00:00:00 2001 From: Tetiana Blindaruk Date: Sat, 15 Sep 2018 20:29:52 +0300 Subject: [PATCH] [5.8] Added `authenticate` method to Guard contract; - we have `authenticate` method to the Guard contract, since it is present within the GuardHelper trait, but we can not use this method based on the contact; --- src/Illuminate/Contracts/Auth/Guard.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Illuminate/Contracts/Auth/Guard.php b/src/Illuminate/Contracts/Auth/Guard.php index 2a2ed3d9a5e4..4af0eb9bb7e9 100644 --- a/src/Illuminate/Contracts/Auth/Guard.php +++ b/src/Illuminate/Contracts/Auth/Guard.php @@ -4,6 +4,13 @@ interface Guard { + /** + * Determine if the current user is authenticated. + * + * @return \Illuminate\Contracts\Auth\Authenticatable + */ + public function authenticate(); + /** * Determine if the current user is authenticated. *