AdaptedReflectionParameter
class AdaptedReflectionParameter extends AbstractReflectionAdapter (View source)
Adapter wrapper around ReflectionParameter
Uses automatic extraction to get all parameter data
PHP 5.6+ compatible
Properties
| protected array | $data | Extracted data from the reflection object |
from AbstractReflectionAdapter |
Methods
Extract configuration - override in subclasses if needed
Get additional skip methods specific to ReflectionParameter Most common patterns are now in ReflectionTypeRegistry::getGlobalSkipPatterns()
Perform generic extraction from reflection object
Handle complex properties after basic extraction
Magic method to proxy method calls to stored data
Check if a method exists in the extracted data
Get a specific value from extracted data
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
protected array
getExtractionConfig()
Extract configuration - override in subclasses if needed
Subclasses should only override this to add ADDITIONAL skip methods beyond the global patterns defined in ReflectionTypeRegistry.
protected array
getAdditionalSkipMethods()
Get additional skip methods specific to ReflectionParameter Most common patterns are now in ReflectionTypeRegistry::getGlobalSkipPatterns()
protected
extractFromReflection(object $reflectionObject)
Perform generic extraction from reflection object
protected
postExtract(object $reflectionObject)
Handle complex properties after basic extraction
mixed
__call(string $name, array $arguments)
Magic method to proxy method calls to stored data
bool
hasMethod(string $methodName)
Check if a method exists in the extracted data
array
getExtractedData()
Get all extracted data (for debugging)
protected mixed
getData(string $key, mixed $default = null)
Get a specific value from extracted data
protected
setData(string $key, mixed $value)
Set a value in extracted data
__construct($reflectionParameter)
No description
getName()
No description
isOptional()
No description
isDefaultValueAvailable()
No description
isVariadic()
No description
isPassedByReference()
No description
canBePassedByValue()
No description
allowsNull()
No description
getPosition()
No description
hasType()
No description
getType()
No description
getDefaultValue()
No description
isDefaultValueConstant()
No description
getDefaultValueConstantName()
No description
getAttributes()
No description
getDeclaringClassName()
No description
getDeclaringFunctionName()
No description