Excuse me: In the following PHP code, what does the class name::class mean?
protected $apiClass = [ AccessToken::class, JsCodeToSession::class, CreateQrCode::class, ];
Class name with namespace
Contains fully qualified name
<?php namespace NS { class ClassName { } echo ClassName::class; //输出NS\ClassName } ?>
PHP official website address
Class name with namespace
Contains fully qualified name
PHP official website address