N
N
Nicholas Lindemann2015-03-13 16:03:55
symfony
Nicholas Lindemann, 2015-03-13 16:03:55

How to clear the display map?

Hello, I recently decided to fix the project structure, and my changes affected Entity DoctrineORM. After renaming the entity itself and trying to check if the project on Symfony is working, I got the following exception - Class '...namespace...' does not exist. It looks like you need to somehow clear the display map, but how to do it through the console? Or maybe the problem is completely different, who knows, help ?!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jaxel, 2015-03-14
@jaxel

Clean cache. If an optimized autoload was generated, then issue the command again. composer dump-autoload -oIf connections, services, etc. were created, then correct the class name in them. Well, check the correctness of namespaces, if the entities were from another bundle.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question