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

ReflectionAttribute::getArguments

PHP function Edit on GitHub ✎

(PHP 8)

Gets arguments passed to attribute

Description

ReflectionAttribute::getArguments(): array

Gets arguments passed to attribute.

Parameters Parameters

Return Values

The arguments passed to attribute.

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