Relative Content

Tag Archive for symfonydoctrine-ormdoctrine

Cannot use caching with DoctrinePaginator

I have a project created with the latest version of symfony. There are a lot of entities with different relationships like OneToMany, ManyToOne, and ManyToMany. Each of these entities have second level caching set and it’s tested and working accordinly.

Symfony 7.1 command php bin/console doctrine:mapping:import

I’m using symfony 7.1 and I want to generate entities from my existing tables but it seems it doesn’t work. First I run this command php bin/console doctrine:mapping:import “AppEntity” annotation –path=src/Entity I’ve got message tell me import command was not found. WhenI tried to use php bin/console make:entity –regenerate it was like creating new entity.

Symfony 7.1 command php bin/console doctrine:mapping:import

I’m using symfony 7.1 and I want to generate entities from my existing tables but it seems it doesn’t work. First I run this command php bin/console doctrine:mapping:import “AppEntity” annotation –path=src/Entity I’ve got message tell me import command was not found. WhenI tried to use php bin/console make:entity –regenerate it was like creating new entity.