S
S
symnoob2020-10-14 13:11:47
symfony
symnoob, 2020-10-14 13:11:47

Symfony, how to extend Entity Bundle?

I have one task that has been bugging me for two Days of rest...
We have a basic Bundle, which is used in 4 Projects. This bundle has Entity.
But now in one of the projects and only in one, you need to add a couple of fields in this Entity.

Is it possible? and how to do it if there is such an opportunity?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Derepko, 2020-10-14
@uDenX

https://www.doctrine-project.org/projects/doctrine...

S
sl0, 2020-10-14
@sl0

So what's the problem? You install the bundle in the project, write your own entity, which inherits the bundle one, and add the necessary fields there. You work with this essence.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question