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
  • 相关阅读:
    golang-grpc-Unimplemented-desc
    redis使用get key中文变成十六进制编码
    golang-generate-1pixel-image
    telnet-redis-quit
    redis hset hmset过期时间
    cookie mapping 原理理解
    excel 表格粘贴到word 显示不完整
    golang-test-tool-gotests
    go build Multiple main.go file
    golang-build-error
  • 原文地址:https://www.cnblogs.com/chunguang/p/5643026.html
Copyright © 2011-2022 走看看