JDany
Utente Attivo
- Messaggi
- 467
- Reazioni
- 24
- Punteggio
- 46
Salve. Su internet non ho trovato nessuna soluzione, o meglio, nessuna di queste funziona.
Praticamente voglio creare con la console di symfony un'entità, ma quando la vado a creare ottengo questo errore:
[ERROR] Only annotation mapping is supported by make:entity, but the <info>App\Entity\Prova</info> class uses
a different format. If you would like this command to generate the properties & getter/setter methods,
add your mapping configuration, and then re-run this command with the <info>--regenerate</info> flag.
Ovviamente anche usando "--regenerate" non funziona. Su internet dicono di installare con composer "maker-bundle" ma quando lo installo non installa effettivamente niente (dice "nothing to install").
Spero qualcuno di voi lo abbia risolto perché non ho proprio idea della soluzione.
Praticamente voglio creare con la console di symfony un'entità, ma quando la vado a creare ottengo questo errore:
[ERROR] Only annotation mapping is supported by make:entity, but the <info>App\Entity\Prova</info> class uses
a different format. If you would like this command to generate the properties & getter/setter methods,
add your mapping configuration, and then re-run this command with the <info>--regenerate</info> flag.
Ovviamente anche usando "--regenerate" non funziona. Su internet dicono di installare con composer "maker-bundle" ma quando lo installo non installa effettivamente niente (dice "nothing to install").
Spero qualcuno di voi lo abbia risolto perché non ho proprio idea della soluzione.