ReflectionParameter::getName

(PHP 5, PHP 7, PHP 8)

ReflectionParameter::getNameGets parameter name

Descrição

public ReflectionParameter::getName(): string

Gets the name of the parameter.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

The name of the reflected parameter.

Veja Também

  • ReflectionParameter::getValue()

add a note

User Contributed Notes 1 note

up
24
mike
8 years ago
FYI, it returns the parameter name without the dollars($) sign at the start.
To Top