The ReflectionParameter class
The ReflectionParameter class retrieves information about function's or method's parameters.
Intro
The ReflectionParameter class retrieves information about function's or method's parameters.
To introspect function parameters, first create an instance of the ReflectionFunction or ReflectionMethod classes and then use their ReflectionFunctionAbstract::getParameters method to retrieve an array of parameters.
Class synopsis
Properties
nameName of the parameter. Read-only, throws
ReflectionExceptionin attempt to write.
Changelog
| Version | Description |
|---|---|
| 8.0.0 | ReflectionParameter::export was removed. |
Reflectionparameter