PHP 8.5.0 Alpha 2 available for testing

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.

add a note

User Contributed Notes

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