bin/magento command to display configured preferences for classes or interfaces
A bin/magento command that will show you the configured preferences for classes and interfaces.
Description
Written on a train. On the way home from #mm15nl. In about an hour. Pretty neat, hu?
Usage
Run /bin/magento help preferences:info
to find out.
Example:
% bin/magento preferences:info LoggerInterface
Psr\Log\LoggerInterface => Magento\Framework\Logger\Monolog
Magento\Framework\DB\LoggerInterface => Magento\Framework\DB\Logger\Null
Compatibility
- Originally written on Magento 2 version 0.74.0-beta10,
- Currently tested on 2.1.4,
Installation Instructions
composer require davidandvinai/module-preferencesinfocommand
bin/magento module:enable DavidAndVinai_PreferencesInfoCommand
Uninstallation
Why? Sin! Heresy!
Known Issues
Currently the module only searches global and adminhtml scope preferences.
Adding an option to specify the preference config area is on the todo list.
Developers
David Manners & Vinai Kopp
Twitter: @VinaiKopp
Twitter: @mannersd
Licence
BSD 3-Clause.
Copyright
(c) 2017 Vinai Kopp, David Manners