php8.5
Home/ Manual/ reflection / reflectionattribute/ ReflectionAttribute::isRepeated

ReflectionAttribute::isRepeated

PHP function Edit on GitHub ✎

(PHP 8)

Returns whether the attribute of this name has been repeated on a code element

Description

ReflectionAttribute::isRepeated(): bool

Returns whether the attribute of this name has been repeated on a code element.

Parameters Parameters

Return Values

Returns true when attribute is used repeatedly, otherwise false.

Source: reference/reflection/reflectionattribute/isrepeated.xml · from the official PHP manual (php/doc-en)