ReflectionAttribute::isRepeated

(PHP 8)

ReflectionAttribute::isRepeatedReturns whether the attribute of this name has been repeated on a code element

Description

publicReflectionAttribute::isRepeated(): bool

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

Parameters

This function has no parameters.

Return Values

Returns true when attribute is used repeatedly, otherwise false.

To Top