How to create entity class dynamically in Symfony

I want to create entities in Symfony without going through the console and the command to then display them in easyadmin. I import an xml file of users, groups, … With the exec function I can pass the exec command exec(‘php bin / console doctrine: database: create’) but I cannot add the properties. I am a beginner. Thanks in advance.

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *