1

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?

Abhishek Tripathi
  • 267
  • 1
  • 7
  • 18

1 Answers1

0

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.

magento2 alan storm

Naveen Jain
  • 1,042
  • 7
  • 26