Support Facades
support
2023-09-11 14:14:35 时间
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 |
相关文章
- python卸载或者安装时提示There is a problem with this Windows Installer package.A program required for this install to complete could not be run. Contact your support personnel or package vendor
- Guideline 1.5 - Safety - Developer Information.The support URL specified in your app’s metadata
- Failed to resolve: com.android.support:support-annotations:2
- #error: MFC does not support WINVER less than 0x0501.
- 【错误记录】Android Studio 集成 ARoute 编译报错 ( 兼容 support 库和 androidx 库 | add ‘tools:replace=“android:appCo )
- VC2015提示warning C4996: 'MBCS_Support_Deprecated_In_MFC': MBCS support in MFC is dep
- service XXX does not support chkconfig
- 《论文阅读》Improving Multi-turn Emotional Support Dialogue Generation with Lookahead Strategy Planning
- 《论文阅读》Towards Emotional Support Dialog Systems
- Android Studio 理解com.android.support:appcompat-v7:x.x.x依赖包(建议收藏)