CakeFest 2024: The Official CakePHP Conference

ReflectionParameter::getName

(PHP 5, PHP 7, PHP 8)

ReflectionParameter::getNameObtener el nombre del parámetro

Descripción

public ReflectionParameter::getName(): string

Obtener el nombre de el parámetro.

Parámetros

Esta función no tiene parámetros.

Valores devueltos

El nombre del parámetro reflejado.

Ver también

  • 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