Facade 类参考
2018-02-24 15:51 更新
你将会在下面找到每一个 facade 和它的基础类。这是个可以从一个给定的 facade 根源快速地深入 API 文档的有用工具。可应用的 服务容器绑定 关键字也包含在里面。 | Facade | Class | Service Container Binding |
---|---|---|---|
App | Illuminate\Foundation\Application | app | |
Artisan | Illuminate\Console\Application | artisan | |
Auth | Illuminate\Auth\AuthManager | auth | |
Auth (实例) | Illuminate\Auth\Guard | ||
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 (实例) | Illuminate\Database\Connection | ||
Event | Illuminate\Events\Dispatcher | events | |
File | Illuminate\Filesystem\Filesystem | files | |
Hash | Illuminate\Contracts\Hashing\Hasher | hash | |
Input | Illuminate\Http\Request | request | |
Lang | Illuminate\Translation\Translator | translator | |
Log | Illuminate\Log\Writer | log | |
Illuminate\Mail\Mailer | mailer | ||
Password | Illuminate\Auth\Passwords\PasswordBroker | auth.password | |
Queue | Illuminate\Queue\QueueManager | queue | |
Queue (实例) | Illuminate\Queue\QueueInterface | ||
Queue (基础类) | 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 (实例) | Illuminate\Session\Store | ||
Storage | Illuminate\Contracts\Filesystem\Factory | filesystem | |
URL | Illuminate\Routing\UrlGenerator | url | |
Validator | Illuminate\Validation\Factory | validator | |
Validator (实例) | Illuminate\Validation\Validator | ||
View | Illuminate\View\Factory | view | |
View (实例) | Illuminate\View\View |
以上内容是否对您有帮助:
更多建议: