I would like to understand the mechanism of running the
setup:di:compile command in Magento 2.
- Step 1: it is checking...
- Step 2: it is generating...
Anybody can explain it to me?
Code compilation consists of all of the following in no particular order:
You can find code compilation in classes in the \Magento\Setup\Module\Di\App\Task\Operation namespace.
Hope it helps.