public function __construct(ClassReflection $declaringClass, string $methodName) { $this->declaringClass = $declaringClass; $this->methodName = $methodName; }