zoukankan      html  css  js  c++  java
  • Support Facades

    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.

    FacadeClassService Container Binding
    Auth AuthGuard Auth
    Cookie CookieCookieJar Cookie
    Crypt CryptEncrypter Crypt
    Database DatabaseConnection DB
    Event EventsDispatcher Event
    Hash SupportFacadesHash Hash
    Input SupportFacadesInput Input
    Language CoreLanguage Language
    Mailer MailMailer Mailer
    Paginator PaginationFactory Paginator
    Password AuthRemindersPasswordBroker Password
    Redirect RoutingRedirector Redirect
    Request HttpRequest Request
    Response HttpResponse Response
    Session SessionStore Session
    Validator ValidationFactory Validator
  • 相关阅读:
    ESlint中console.log报错问题
    for、forEach、for in、for of用法
    如何覆盖elementUI样式
    什么是闭包(closure),为什么要用它?
    写一个通用的事件侦听器函数
    javascripts 浅拷贝和深拷贝
    箭头函数
    用 async/await 来处理异步
    DOM事件类
    arguments 详解
  • 原文地址:https://www.cnblogs.com/chunguang/p/5643026.html
Copyright © 2011-2022 走看看