-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cli info di #9103
Merged
Merged
Cli info di #9103
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…endency Injection Info for the Interfaces and Classes - Create class to collect DI configuration information
…endency Injection Info for the Interfaces and Classes - Create method to retrieve constructor parameters info
…endency Injection Info for the Interfaces and Classes - Create Class for Di info command
…endency Injection Info for the Interfaces and Classes - Create method to retrieve virtual types of the class and its preference
…endency Injection Info for the Interfaces and Classes - added in di.xml the dev_di_info command
…endency Injection Info for the Interfaces and Classes - added the execute method
…endency Injection Info for the Interfaces and Classes - format the output of the command
…endency Injection Info for the Interfaces and Classes - added pluginlist model to recover the information about the plugin for the specified class
…into cli-info-di # Conflicts: # app/code/Magento/Developer/Model/Di/Information.php
…into cli-info-di # Conflicts: # app/code/Magento/Developer/Model/Di/Information.php
…endency Injection Info for the Interfaces and Classes - added type name to plugin method instead of id
…into cli-info-di # Conflicts: # app/code/Magento/Developer/Console/Command/DiInfoCommand.php
…endency Injection Info for the Interfaces and Classes - added check existence of className in the inherited array
…endency Injection Info for the Interfaces and Classes - added plugins info about preference
…into cli-info-di - Added support for the virtual types
…into cli-info-di # Conflicts: # app/code/Magento/Developer/Console/Command/DiInfoCommand.php
…endency Injection Info for the Interfaces and Classes - added support for array type parameters
…endency Injection Info for the Interfaces and Classes - added support for array type parameters
…endency Injection Info for the Interfaces and Classes - added unit test for Information class
Hi @springerin
Thanks! |
…endency Injection Info for the Interfaces and Classes - fixed the virtual types message - added information about the area
…endency Injection Info for the Interfaces and Classes - fixed unit test
…endency Injection Info for the Interfaces and Classes - fixed issue with the empty constructor parameters list - fixed static test
@ishakhsuvarov fixed tests, please pay attention to acceptance test |
@springerin CLA was signed but the system cannot record it due to error. We can assume that it is signed. |
@springerin thank you for your contribution to Magento 2 project |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added cli command to retrieve DI configured for the certain class or interface: which preference is defined, which virtual types exist, how parameters are configured, what plugins exist.
Description
Fixed Issues (if relevant)
1.magento-hackathon/Imagine2017#11: Create new CLI command: Collect Dependency Injection Info for the Interfaces and Classes
Manual testing scenarios
bin/magento dev:di:info "Magento\Catalog\Api\Data\ProductInterface"
Contribution checklist