CakeFest 2025 Madrid: The Official CakePHP Conference

ReflectionParameter::getName

(PHP 5, PHP 7, PHP 8)

ReflectionParameter::getNameGets parameter name

Description

public ReflectionParameter::getName(): string

Gets the name of the parameter.

Parameters

This function has no parameters.

Return Values

The name of the reflected parameter.

See Also

  • ReflectionParameter::getValue()

add a note

User Contributed Notes 1 note

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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant