ReflectionParameter::getName

(PHP 5, PHP 7)

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()

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionparameter.getname.php