Actually, I'm working on a project based on Symfony 4 so I have installed both of those bundles: FosMessageBundle & fosCommentBundle
the problem is that both of those bundles have a class with a name: thread
so I need to put in my code:
but the problem is when I try to work with one for both of theme I cannot because I need to do multiple extends
use FOS\CommentBundle\Entity\Thread as BaseThread;
use FOS\MessageBundle\Model\Thread as BaseThread;
but when I try to change the MessageBundle class thread to MessageThread
fos_message:
db_driver: orm
thread_class: App\Entity\MessageThread
message_class: App\Entity\Message
It gives this error
Class 'App\Entity\MessageThreadMetadata' does not exist
How can I fix this?