/** * @return MethodReflection */ public function getConstructor() { return ($ref = parent::getConstructor()) ? MethodReflection::import($ref) : NULL; }
/** * @return MethodReflection | FunctionReflection */ public function getDeclaringFunction() { return ($ref = parent::getDeclaringFunction()) instanceof ReflectionMethod ? MethodReflection::import($ref) : FunctionReflection::import($ref); }
/** * @return MethodReflection */ public function getMethod($name) { return MethodReflection::import(parent::getMethod($name)); }