Load the `__construct` parameters for a class, if available. Tries `load_stub_class` (which checks `uri_classes_index` first, then in-memory stubs) to avoid disk I/O. Returns `None` when the class cannot be found or has no constructor.
(&self, class_name: &str)
| 1419 | /// in-memory stubs) to avoid disk I/O. Returns `None` when the |
| 1420 | /// class cannot be found or has no constructor. |
| 1421 | fn ctor_params_for(&self, class_name: &str) -> Option<Vec<ParameterInfo>> { |
| 1422 | let cls = self.load_stub_class(class_name)?; |
| 1423 | let ctor = cls.get_method_ci("__construct")?; |
| 1424 | Some(ctor.parameters.clone()) |
| 1425 | } |
| 1426 | |
| 1427 | /// Maximum number of class name completions to return. |
| 1428 | /// |
no test coverage detected