Closed qzminski closed 4 years ago
I've put that in every project as well. Not sure if the Entity
directory needs to exist for this to work.
As discussed in Mumble on August 27th, we cannot add this into the config.yml
, because it will fail if there is no Entity
folder. However, we could add a compiler pass that checks the existing configuration and dynamically adds the mapping if the Entity
folder exists.
see #2232
Description The Doctrine entities inside
App
namespace could probably be mapped by default. This requires some changes in the current config skeleton: https://github.com/contao/contao/blob/master/manager-bundle/src/Resources/skeleton/config/config.yml#L54Example As of now I have to provide this configuration on my own:
/cc @aschempp