namespace and class naming #5064

Closed
opened 2026-01-22 14:57:32 +01:00 by admin · 2 comments
Owner

Originally created by @Hikingyo on GitHub (Mar 25, 2016).

Originally assigned to: @Ocramius on GitHub.

When i'm using cli to generate entities from database into yaml with a namespace, i don't have the expected. Exemple with namespace myns and a table named User, it produce mynsUser.dcm.yml file with a mynsUser class instead of myns.User.dcm.yml and myns\User. The generated entity is mynsUser without namespace and fail to generate proxy class.

Originally created by @Hikingyo on GitHub (Mar 25, 2016). Originally assigned to: @Ocramius on GitHub. When i'm using cli to generate entities from database into yaml with a namespace, i don't have the expected. Exemple with namespace myns and a table named User, it produce mynsUser.dcm.yml file with a mynsUser class instead of myns.User.dcm.yml and myns\User. The generated entity is mynsUser without namespace and fail to generate proxy class.
admin added the BugWon't Fix labels 2026-01-22 14:57:32 +01:00
admin closed this issue 2026-01-22 14:57:32 +01:00
Author
Owner

@roji430 commented on GitHub (Apr 28, 2016):

the same issue with me anybody have solution please

@roji430 commented on GitHub (Apr 28, 2016): the same issue with me anybody have solution please
Author
Owner

@Ocramius commented on GitHub (Aug 23, 2018):

The YAML driver is deprecated, therefore closing as "won't fix" here.

@Ocramius commented on GitHub (Aug 23, 2018): The YAML driver is deprecated, therefore closing as "won't fix" here.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#5064