phpday 2027 - Call for Papers

ReflectionAttribute::getName

(PHP 8)

ReflectionAttribute::getName — Gets the name of the attribute

Descrizione

public function ReflectionAttribute::getName(): string

Gets the name of the attribute.

The name is resolved when the attribute is declared, using the imports and namespace in effect at that point. The returned name is the fully qualified class name of the attribute, without a leading backslash. The attribute class does not need to exist for the name to be returned.

Elenco dei parametri

Questa funzione non ha parametri.

Valori restituiti

The name of the attribute.

+add a note

User Contributed Notes

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