PHP 8.4.6 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.

User Contributed Notes

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