Hi,

Your question of how to support from multiple classes is not actually a
problem of Doctrine, but of PHP itself.
The language does not support multiple inheritance, so I wonder why and how
would Doctrine support it.

Regards,

On Tue, Jul 14, 2015 at 5:40 AM, Miklós Szabó <[email protected]> wrote:

> Hi,
>
> I am quite new to doctrine. I was searching through the documentation but
> could not really find the best solution for my problem. I would like to
> know whether an optimal solution exists for the problem described below.
> https://www.dropbox.com/s/pj0m99hz5ytzcxi/inheritance.png?dl=0
> I would like to inherit a class from multiple superclasses. Can anybody
> suggest a solution for that?
> B extends A, it is all clear. But how can I inherit D from A and C? Is
> there a way to work with interfaces and their implementations instead of
> entity classes?
>
> Thanks in advance!
> Regards,
> Miklós
>
> --
> You received this message because you are subscribed to the Google Groups
> "doctrine-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/doctrine-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Guilherme Blanco
MSN: [email protected]
GTalk: guilhermeblanco
Toronto - ON/Canada

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to