magento_impact_analysis
Identify all files referencing a PHP class via use statements, DI configuration, instantiation, and type hints to map cross-module dependencies before making changes.
Instructions
Analyze the impact of changing a PHP class — finds all files that reference it via use statements, DI configuration, instantiation, and type hints. Combines DI XML tracing with PHP source analysis to map cross-module dependencies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| className | Yes | Full or partial PHP class/interface name. Examples: "ProductRepository", "CartManagementInterface", "StoreManagerInterface" |