php / 8.1.5 / reflectionattribute.getname.html /

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.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionattribute.getname.php