This commit is contained in:
ghassan committed 2026-04-16 20:02:41 +03:00
1 parent eb0d79d503
commit b03c1d4619
12446 files changed
+1647557 -24

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
<?php
namespace Illuminate\Contracts\Auth;
interface Guard
{
/**
* @return \App\Models\User|null
*/
public function user();
}
+41
View File
@@ -0,0 +1,41 @@
<?php
namespace Illuminate\Support\Facades;
interface Auth
{
/**
* @return \App\Models\User|false
*/
public static function loginUsingId(mixed $id, bool $remember = false);
/**
* @return \App\Models\User|false
*/
public static function onceUsingId(mixed $id);
/**
* @return \App\Models\User|null
*/
public static function getUser();
/**
* @return \App\Models\User
*/
public static function authenticate();
/**
* @return \App\Models\User|null
*/
public static function user();
/**
* @return \App\Models\User|null
*/
public static function logoutOtherDevices(string $password);
/**
* @return \App\Models\User
*/
public static function getLastAttempted();
}
File diff suppressed because it is too large. Load diff
+11
View File
@@ -0,0 +1,11 @@
<?php
namespace Illuminate\Http;
interface Request
{
/**
* @return \App\Models\User|null
*/
public function user($guard = null);
}