讨论数量:
config/app.php
vendor/laravel/framework/src/Illuminate/Support/Facades/Auth.php
Auth
class extents Facade class.vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php
auth::check()
is equal to SessionGuard::check()
which is the Root object behind the facde.SessionGuard
class use the trait GuardHelpers
which contains the check() method explictly!config/app.php
vendor/laravel/framework/src/Illuminate/Support/Facades/Auth.php
Auth
class extents Facade class.vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php
auth::check()
is equal to SessionGuard::check()
which is the Root object behind the facde.SessionGuard
class use the trait GuardHelpers
which contains the check() method explictly!
推荐文章: