PHP 8.1.31 Released!

ReflectionAttribute::isRepeated

(PHP 8)

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

Description

public ReflectionAttribute::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.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top