ReflectionAttribute::isRepeated

(PHP 8)

ReflectionAttribute::isRepeated返回该名称的属性是否可以重复出现在一个代码元素上

说明

public ReflectionAttribute::isRepeated(): bool

返回该名称的属性是否可以重复出现在一个代码元素上。

参数

此函数没有参数。

返回值

当属性被重复使用时返回 true,否则返回 false

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

备份地址:http://www.lvesu.com/blog/php/reflectionattribute.isrepeated.php