ReflectionAttribute::isRepeated

(PHP 8)

ReflectionAttribute::isRepeatedReturns whether the attribute of this name could occur repeatedly on a code element

Description

public ReflectionAttribute::isRepeated(): bool

Returns whether the attribute of this name could occur repeatedly on a code element.

Parameters

This function has no parameters.

Return Values

Returns true when attribute is used repeatedly, otherwise false.