ReflectionAttribute::getName

(PHP 8)

ReflectionAttribute::getNameGets attribute name

Description

public ReflectionAttribute::getName(): string

Gets the attributes name.

Parameters

This function has no parameters.

Return Values

The name of the attribute.