ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## laravel 门面路径 ### 查找门面路径方法1 路径:\vendor\laravel\framework\src\Illuminate\Foundation\Application.php `Illuminate\Foundation\Application`文件`registerCoreContainerAliases`方法 ### 查找门面路径方法2 助手函数 路径:\vendor\laravel\framework\src\Illuminate\Foundation\helpers.php 每一个助手函数可以看到指向路径 ### 查找门面路径方法3 门面方法 门面参数上面有个 @see ## 门面类列表 下面列出了每个门面及其对应的底层类,这对深入给定根门面的 API 文档而言是个很有用的工具。服务容器绑定键也被包含进来: | 门面 `Facade` | 类 `class` | 服务容器绑定 | | --- | --- | --- | | App | Illuminate\\Foundation\\Application | `app` | | Artisan | Illuminate\\Contracts\\Console\\Kernel | `artisan` | | Auth | Illuminate\\Auth\\AuthManager | `auth` | | Blade | Illuminate\\View\\Compilers\\BladeCompiler | `blade.compiler` | | Bus | Illuminate\\Contracts\\Bus\\Dispatcher | | Cache | Illuminate\\Cache\\Repository | `cache` | | Config | Illuminate\\Config\\Repository | `config` | | Cookie | Illuminate\\Cookie\\CookieJar | `cookie` | | Crypt | Illuminate\\Encryption\\Encrypter | `encrypter` | | DB | Illuminate\\Database\\DatabaseManager | `db` | | DB(Instance) | Illuminate\\Database\\Connection | | Event | Illuminate\\Events\\Dispatcher | `events` | | File | Illuminate\\Filesystem\\Filesystem | `files` | | Gate | Illuminate\\Contracts\\Auth\\Access\\Gate | | Hash | Illuminate\\Contracts\\Hashing\\Hasher | `hash` | | Lang | Illuminate\\Translation\\Translator | `translator` | | Log | Illuminate\\Log\\Writer | `log` | | Mail | Illuminate\\Mail\\Mailer | `mailer` | | Notification | Illuminate\\Notifications\\ChannelManager | | Password | Illuminate\\Auth\\Passwords\\PasswordBrokerManager | `auth.password` | | Queue | Illuminate\\Queue\\QueueManager | `queue` | | Queue(Instance) | Illuminate\\Contracts\\Queue\\Queue | `queue` | | Queue(Base Class) | Illuminate\\Queue\\Queue | | Redirect | Illuminate\\Routing\\Redirector | `redirect` | | Redis | Illuminate\\Redis\\Database | `redis` | | Request | Illuminate\\Http\\Request | `request` | | Response | Illuminate\\Contracts\\Routing\\ResponseFactory | | Route | Illuminate\\Routing\\Router | `router` | | Schema | Illuminate\\Database\\Schema\\Blueprint | | Session | Illuminate\\Session\\SessionManager | `session` | | Session(Instance) | Illuminate\\Session\\Store | | Storage | Illuminate\\Contracts\\Filesystem\\Factory | `filesystem` | | URL | Illuminate\\Routing\\UrlGenerator | `url` | | Validator | Illuminate\\Validation\\Factory | `validator` | | Validator(Instance) | Illuminate\\Validation\\Validator | | View | Illuminate\\View\\Factory | `view` | | View(Instance) | Illuminate\\View\\View | 10人点赞 [Laravel 官方文档学习笔记](/nb/15219162)