Le 26/11/2014 09:58, 'Jasper N. Brouwer' via doctrine-user a écrit :
When using annotations, the classes and traits are merely the medium in which
the mappings are defined.
When using XML, YAML, etc, the mapping definitions are completely decoupled
from code. So referring to a trait doesn't make a lot of sense to me.
But I agree that some sort of "import" or "extend" logic in XML, YAML, etc
would be nice!
PS: "import" is already supported by Symfony2's config / YAML parser (not sure
in which of these 2 it's located).
--
Jasper N. Brouwer
(@jaspernbrouwer)
It is the DependencyInjection loader which supports imports. The YAML
parser does not have a concept of imports. It just knows about YAML.
--
Christophe | Stof
--
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.