|
|
REFLECTIONPARAMETER(3) 1 REFLECTIONPARAMETER(3) The ReflectionParameter class INTRODUCTION
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
ReflectionParameter ReflectionParameterReflector Properties o public$name Methods o public bool ReflectionParameter::allowsNull (void ) o public bool ReflectionParameter::canBePassedByValue (void ) o finalprivate void ReflectionParameter::__clone (void ) o public ReflectionParameter::__construct (string $function, string $parameter) o publicstatic string ReflectionParameter::export (string $function, string $parameter, [bool $return]) o public ReflectionClass ReflectionParameter::getClass (void ) o public ReflectionClass ReflectionParameter::getDeclaringClass (void ) o public ReflectionFunctionAbstract ReflectionParameter::getDeclaringFunction (void ) o public mixed ReflectionParameter::getDefaultValue (void ) o public string ReflectionParameter::getDefaultValueConstantName (void ) o public string ReflectionParameter::getName (void ) o public int ReflectionParameter::getPosition (void ) o public bool ReflectionParameter::isArray (void ) o public bool ReflectionParameter::isCallable (void ) o public bool ReflectionParameter::isDefaultValueAvailable (void ) o public bool ReflectionParameter::isDefaultValueConstant (void ) o public bool ReflectionParameter::isOptional (void ) o public bool ReflectionParameter::isPassedByReference (void ) o public bool ReflectionParameter::isVariadic (void ) o public string ReflectionParameter::__toString (void ) PROPERTIES
o $name - Name of the parameter. Read-only, throws ReflectionException in attempt to write. PHP Documentation Group REFLECTIONPARAMETER(3)