In symfony - newbie ...
The documentation constantly states that:
Set of files within a directory
etc. That is, that a bundle is a folder in which we collect all the bundle files, thereby keeping everything in one place.
If we generate a new bundle, leaving all the default values, we will get the following picture in the src folder:
βββ Acme β βββ TestBundle β βββ AcmeTestBundle.php β βββ Controller β β βββ DefaultController.php β βββ Resources β β βββ config β β β βββ services.yml β β βββ views β β βββ Default β β βββ index.html.twig β βββ Tests β βββ Controller β βββ DefaultControllerTest.php Now compare this picture with the one that is set when you install symfony.
src folder:
AppBundle βββ AppBundle.php βββ Controller βββ DefaultController.php App folder:
βββ Resources βββ views βββ base.html.twig βββ default βββ index.html.twig Here we see that the Resource folder is in the app folder.
Why is she here and not in AppBundle ?