ReflectionMethodExtractor
class ReflectionMethodExtractor (View source)
Automatic method extraction logic for Reflection objects
This class automatically discovers and calls getter methods on Reflection objects, extracting all available data dynamically. This ensures forward compatibility when new methods are added to PHP's Reflection API.
PHP 5.6+ compatible
Methods
static array
extractData(object $reflectionObject, array $config = [])
Extract data from a reflection object by automatically calling all getter methods
Details
static array
extractData(object $reflectionObject, array $config = [])
Extract data from a reflection object by automatically calling all getter methods