I would like to understand the mechanism of running the setup:di:compile
command in Magento 2.
Example:
- 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 communityCode 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.
For more information: http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-compiler.html
Hope it helps.