phpday 2027 - Call for Papers

ReflectionAttribute::getName

(PHP 8)

ReflectionAttribute::getName — Devuelve el nombre del atributo

Descripción

public function ReflectionAttribute::getName(): string

Devuelve el nombre del atributo.

El nombre se resuelve cuando se declara el atributo, utilizando las importaciones y el espacio de nombres vigentes en ese punto. El nombre devuelto es el nombre de clase totalmente cualificado del atributo, sin barra invertida inicial. La clase del atributo no necesita existir para que se devuelva el nombre.

Parámetros

Esta función no contiene ningún parámetro.

Valores devueltos

El nombre del atributo.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top