CakeFest 2024: The Official CakePHP Conference

ReflectionFunctionAbstract::getName

(PHP 5 >= 5.2.0, PHP 7, PHP 8)

ReflectionFunctionAbstract::getNameGets function name

Descrizione

public ReflectionFunctionAbstract::getName(): string

Get the name of the function.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

The name of the function.

Vedere anche:

add a note

User Contributed Notes 1 note

up
2
PR
3 years ago
If you call getName() on an anonymous function you'll get "{closure}".
To Top