We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79ce705 commit 22e7698Copy full SHA for 22e7698
src/Illuminate/Contracts/Auth/Guard.php
@@ -4,6 +4,20 @@
4
5
interface Guard
6
{
7
+ /**
8
+ * Determine if the current user is authenticated.
9
+ *
10
+ * @return \Illuminate\Contracts\Auth\Authenticatable
11
+ */
12
+ public function authenticate();
13
+
14
15
+ * Determine if the guard has a user instance.
16
17
+ * @return bool
18
19
+ public function hasUser();
20
21
/**
22
* Determine if the current user is authenticated.
23
*
@@ -47,11 +61,4 @@ public function validate(array $credentials = []);
47
61
* @return void
48
62
*/
49
63
public function setUser(Authenticatable $user);
50
-
51
- /**
52
- * Determine if the guard has a user instance.
53
- *
54
- * @return bool
55
- */
56
- public function hasUser();
57
64
}
0 commit comments