mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
doctrine:generate:entities and anonymous class #5196
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kralmichal on GitHub (Jul 19, 2016).
Originally assigned to: @Majkl578 on GitHub.
Hi,
Suppose I have an Entity like this one
when running
bin/console doctrine:generate:entitiesyou will get[Symfony\Component\Debug\Exception\ContextErrorException] Notice: Uninitialized string offset: 1@Ocramius commented on GitHub (Jul 19, 2016):
Can you please run it in isolation, or provide a full trace? I don't think that we currently support anonymous classes within the entity generator.
@kralmichal commented on GitHub (Jul 19, 2016):
@Majkl578 commented on GitHub (Dec 20, 2017):
EntityGenerator is going to be removed in Doctrine 3.0, thanks for reporting.
@kralmichal commented on GitHub (Dec 20, 2017):
Thanks for reply.