get-di-preferences
Retrieve dependency injection preferences for Magento 2 to understand how classes are mapped and overridden across different application scopes.
Instructions
Get Magento 2 dependency injection preferences list using magerun2
Input Schema
Name | Required | Description | Default |
---|---|---|---|
scope | No | The scope to get DI preferences for | global |
Input Schema (JSON Schema)
{
"properties": {
"scope": {
"default": "global",
"description": "The scope to get DI preferences for",
"enum": [
"global",
"adminhtml",
"frontend",
"crontab",
"webapi_rest",
"webapi_soap",
"graphql",
"doc",
"admin"
],
"type": "string"
}
},
"type": "object"
}