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

ReflectionAttribute::getName

PHP function Edit on GitHub ✎

(PHP 8)

Gets attribute name

Description

ReflectionAttribute::getName(): string

Gets the attributes name.

Parameters Parameters

Return Values

The name of the attribute.

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