How to clear my Symfony project of a deleted entity?

Viewed 179

I created an entity "Publishers" with coupls relations.

I wanted to remove this entity and anything related to it. And I have been told to delete the Entity file and Migration file.

Now when I run my website I get the following message :

The target-entity App\Entity\Publisher cannot be found in 'App\Entity\Games#publishers'.

How can I fix this and "clear" everything that was related to this entity ?

1 Answers
Related