September 2016
Intermediate to advanced
1091 pages
21h 41m
English
We start off by creating a new module called Foggyline\CatalogBundle. We do so with the help of the console, by running the command as follows:
php bin/console generate:bundle --namespace=Foggyline/CatalogBundle
The command triggers an interactive process that asks us several questions along the way, as shown in the following screenshot:

Once done, the following structure is generated for us:

If we now take a look at the app/AppKernel.php file, we would see the following line under the registerBundles method:
new Foggyline\CatalogBundle\FoggylineCatalogBundle() ...
Read now
Unlock full access