Support Facades
2024-10-17 21:28:55
Support Facades
Introduction
Facades provide a "static" interface to classes that are available in the application's service container. Nova ships with many facades, and you have probably been using them without even knowing it! Nova "facades" serve as "static proxies" to underlying classes in the service container, providing the benefit of a terse, expressive syntax while maintaining more testability and flexibility than traditional static methods.
Facade Class Reference
Below you will find every facade and its underlying class. This is a useful tool for quickly digging into the API documentation for a given facade root. The service container binding key is also included where applicable.
Facade | Class | Service Container Binding |
---|---|---|
Auth | Auth\Guard | Auth |
Cookie | Cookie\CookieJar | Cookie |
Crypt | Crypt\Encrypter | Crypt |
Database | Database\Connection | DB |
Event | Events\Dispatcher | Event |
Hash | Support\Facades\Hash | Hash |
Input | Support\Facades\Input | Input |
Language | Core\Language | Language |
Mailer | Mail\Mailer | Mailer |
Paginator | Pagination\Factory | Paginator |
Password | Auth\Reminders\PasswordBroker | Password |
Redirect | Routing\Redirector | Redirect |
Request | Http\Request | Request |
Response | Http\Response | Response |
Session | Session\Store | Session |
Validator | Validation\Factory | Validator |
最新文章
- ubuntu pycharm 无法 lock from launcher 问题解决
- C++的异常处理之一:throw是个一无是处的东西
- SQL Server 子查询
- mysql分区
- Her and his blog
- Web Services 介绍
- Javascript: 截取字符串多出来并用省略号[...]显示
- mysql基本总结
- 将MyEclipse中的项目导入到Eclipse中报错的解决放法
- Exception: Unexpected End Of File(crontab)
- CAN总线学习记录之四:位定时与同步
- Task.Wait and “Inlining”
- Linux某些命令找不到/无法使用
- Java 多线程 创建线程的4种方式
- 15:IO之File、Properties类
- 深入springboot原理——一步步分析springboot启动机制(starter机制)
- 移动端meta设置
- TCP保活的必要性
- TextBlock 重写,当文本过长时,自动截断文本并出现Tooltip
- java中stream部分笔记