[英]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.