Files
expense/app/Helpers/AuthenticationHelper.php
T
2024-12-02 01:18:34 +07:00

23 lines
329 B
PHP

<?php
namespace App\Helpers;
use Illuminate\Support\Facades\Auth;
class AuthenticationHelper
{
public static function CurrentLogin()
{
$auth = Auth::user()->username;
return $auth;
}
public static function CurrentLoginData()
{
$auth = Auth::user();
return $auth;
}
}