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?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
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.