简体   繁体   English

Laravel 5中config / app.php提供者数组中:: class的含义是什么

[英]What is the meaning of ::class in config/app.php provider array in Laravel 5

嗨,我不知道为什么我们使用::class中laravel 5 config/app.php提供商阵列一样Illuminate\\Auth\\AuthServiceProvider::class是什么目的::class ,我们可以以相同的方式使用什么样的其他东西因为::class正在这里使用。

It's the fully qualified name (meaning, along with the namespaces) of the class as string. 它是作为字符串的类的全限定名(含义以及名称空间)。 You can have a look here: PHP: The Basics - Manual 您可以在这里查看: PHP:基础知识-手册

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何修复config / app.php Laravel中的提供程序,它始终未找到错误 - How to fix provider in config/app.php Laravel that's starting not found error Laravel 如何从 config\app.php => 提供者中自动加载所有提供者类 - How Laravel auto load all provider classes from config\app.php => providers Laravel 5,即使更新app.php和config.php后也找不到CLass HTML - Laravel 5 , CLass HTML not find even after updating app.php and config.php Laravel软件包是否需要在app.php中注册服务提供商? - Is registering a Service Provider in app.php required for Laravel packages? laravel如何阅读app / config / app.php调试变量 - laravel how to read app/config/app.php debug variable 将会话连接到Laravel 5.2中的config / app.php设置 - Concatenate session to config/app.php setting in Laravel 5.2 Laravel config/app.php 和.env 文件中的应用程序环境变量 - Laravel Application Environment variable in config/app.php and .env file 理解laravel app.php 中的数组 - Understanding arrays in laravel app.php 如何从 Laravel 的 config/app.php 中获取客户端 ip 地址? - How to get the client ip address from Laravel's config/app.php? 我们如何从数据库或laravel 5 config文件夹中app.php的其他文件中访问数据 - how do we access data from database or other files in app.php of the config folder in laravel 5
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM