DDC-3452: [GH-1222] Embeddables in metadata builder #4255

Closed
opened 2026-01-22 14:38:22 +01:00 by admin · 6 comments
Owner

Originally created by @doctrinebot on GitHub (Dec 17, 2014).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of guiwoda:

Url: https://github.com/doctrine/doctrine2/pull/1222

Message:

Embeddables set the $classMetadata->isEmbeddedClass = true and sets $classMetadata->isMappedSuperclass = false, imitating the switch in xml / yml drivers.

Embeddeds have 2 methods, as other types have: addEmbedded is a one-off adder with fluent behavior, and createEmbedded returns an instance of EmbeddedBuilder. The class is very thin right now, but it's a good way to lay ground for improvements on embedded creation in the future.

This one is probably more useful than the last one, @Ocramius ;-)

Originally created by @doctrinebot on GitHub (Dec 17, 2014). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of guiwoda: Url: https://github.com/doctrine/doctrine2/pull/1222 Message: Embeddables set the `$classMetadata->isEmbeddedClass = true` and sets `$classMetadata->isMappedSuperclass = false`, imitating the `switch` in xml / yml drivers. Embeddeds have 2 methods, as other types have: `addEmbedded` is a one-off adder with fluent behavior, and `createEmbedded` returns an instance of `EmbeddedBuilder`. The class is very thin right now, but it's a good way to lay ground for improvements on embedded creation in the future. This one is probably more useful than the last one, @Ocramius ;-)
admin added the Bug label 2026-01-22 14:38:22 +01:00
admin closed this issue 2026-01-22 14:38:23 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jan 24, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1222] was labeled:
https://github.com/doctrine/doctrine2/pull/1222

@doctrinebot commented on GitHub (Jan 24, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1222] was labeled: https://github.com/doctrine/doctrine2/pull/1222
Author
Owner

@doctrinebot commented on GitHub (Jan 26, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1222] was labeled:
https://github.com/doctrine/doctrine2/pull/1222

@doctrinebot commented on GitHub (Jan 26, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1222] was labeled: https://github.com/doctrine/doctrine2/pull/1222
Author
Owner

@doctrinebot commented on GitHub (Jan 28, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1222] was assigned:
https://github.com/doctrine/doctrine2/pull/1222

@doctrinebot commented on GitHub (Jan 28, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1222] was assigned: https://github.com/doctrine/doctrine2/pull/1222
Author
Owner

@doctrinebot commented on GitHub (Jan 28, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1222] was merged:
https://github.com/doctrine/doctrine2/pull/1222

@doctrinebot commented on GitHub (Jan 28, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1222] was merged: https://github.com/doctrine/doctrine2/pull/1222
Author
Owner

@doctrinebot commented on GitHub (Mar 18, 2015):

Comment created by @beberlei:

Merged for 2.5 Beta1

@doctrinebot commented on GitHub (Mar 18, 2015): Comment created by @beberlei: Merged for 2.5 Beta1
Author
Owner

@doctrinebot commented on GitHub (Mar 18, 2015):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Mar 18, 2015): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4255