ReflectionAttribute::newInstance
(PHP 8)
ReflectionAttribute::newInstance — 实例化由 ReflectionAttribute 类和参数表示的属性类
说明
public ReflectionAttribute::newInstance(): object
实例化由 ReflectionAttribute 类和参数表示的属性类。
参数
此函数没有参数。
返回值
属性的新实例。
add a note
User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/reflectionattribute.newinstance.php