1
你好我可以在laravel框架Laravel类验证
namespace Illuminate\Support\Facades;
/**
* @see \Illuminate\Auth\AuthManager
* @see \Illuminate\Contracts\Auth\Factory
* @see \Illuminate\Contracts\Auth\Guard
* @see \Illuminate\Contracts\Auth\StatefulGuard
*/
class Auth extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
return 'auth';
}
}
问这是什么回报“权威性”正好返回给调用?它是文本'auth'还是一个对象?那他们为什么只有一种方法的原因是什么?我很抱歉,我只是在学习oop。
预先感谢您。
它在它将作为字符串返回的引号中。 –
并等待这个问题返回'auth'返回给调用者的是什么? –