mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #108] [MERGED] short classname support for custom repository class #7723
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?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/108
Author: @lenar
Created: 8/18/2011
Status: ✅ Merged
Merged: 8/18/2011
Merged by: @guilhermeblanco
Base:
master← Head:patch-1📝 Commits (1)
d7fbd2cshort classname support for custom repository class📊 Changes
1 file changed (+4 additions, -0 deletions)
View changed files
📝
lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php(+4 -0)📄 Description
Short classnames are suppported for
targetEntity, so to be consistent they should be supported forrepositoryClasstoo:Currently only
@Entity(repositoryClass="Acme\Blog\PostRepository")works.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.