DDC-1338: @Entity(repositoryClass) could support short namespace support #1675

Closed
opened 2026-01-22 13:21:54 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Aug 19, 2011).

Originally assigned to: @guilhermeblanco on GitHub.

Jira issue originally created by user @guilhermeblanco:

Like association mapping, we could take advantage of short namespacing of entity repository class.

Example:

namespace Foo\Bar\Red;

/****
 * Used to be "Foo\Bar\Red\WooRepository"
 * @Entity(repositoryClass="WooRepository")
 */
class Woo { ... } 
Originally created by @doctrinebot on GitHub (Aug 19, 2011). Originally assigned to: @guilhermeblanco on GitHub. Jira issue originally created by user @guilhermeblanco: Like association mapping, we could take advantage of short namespacing of entity repository class. Example: ``` namespace Foo\Bar\Red; /**** * Used to be "Foo\Bar\Red\WooRepository" * @Entity(repositoryClass="WooRepository") */ class Woo { ... } ```
admin added the Improvement label 2026-01-22 13:21:54 +01:00
admin closed this issue 2026-01-22 13:21:55 +01:00
Author
Owner

@doctrinebot commented on GitHub (Aug 19, 2011):

Comment created by @guilhermeblanco:

Fixed by 736443f6c2

@doctrinebot commented on GitHub (Aug 19, 2011): Comment created by @guilhermeblanco: Fixed by https://github.com/doctrine/doctrine2/commit/736443f6c23c772bf10cf2839c3812f43b251929
Author
Owner

@doctrinebot commented on GitHub (Aug 19, 2011):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Aug 19, 2011): 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#1675