ReflectionParameter::getName

(PHP 5, PHP 7, PHP 8)

ReflectionParameter::getNameGets parameter name

說明

public ReflectionParameter::getName(): string

Gets the name of the parameter.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

The name of the reflected parameter.

參見

  • ReflectionParameter::getValue()