I have been wondering about what exactly the following Magento command do.
php bin/magento setup:di:compile
Am I right, that it creates proxy classes? If yes, can someone give some more details of how Magento does this?
I have been wondering about what exactly the following Magento command do.
php bin/magento setup:di:compile
Am I right, that it creates proxy classes? If yes, can someone give some more details of how Magento does this?
when the s:d:c command is executed it tracks all xml files
(di.xml,config.xml,system,xml)
and based on the rules of xml syntax it generates the factory classes,intercepter classes,proxy classes, dependency of sequences etc .
if you want to check how it is working than you should try to check out magento-framework module .
it is lengthy to explain that module here but follow this link you can get many details there.