mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #1089] [MERGED] EntityRepositoryGenerator default repository #9142
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/1089
Author: @encoder32
Created: 7/27/2014
Status: ✅ Merged
Merged: 11/11/2014
Merged by: @Ocramius
Base:
master← Head:EntityRepositoryGeneratorDefaultRepository📝 Commits (10+)
c0ee57aDefault/Custom Entity Repository for Entity Repository Generator90efaeeCode Style fixes3dc2a68simple fixesc04b01cAdded NS checkinga4c7a89className fix: If namespace is not set then ClassName will be cut of5d608b6Private method EntityRepositoryGenerator::generateEntityRepositoryNamespace() changed to protecteddf80d82Reverted visibility for EntityRepositoryGenerator::generateEntityRepositoryNamespace()20b72efVisibility for EntityRepositoryGenerator::$repositoryNamec8565c2Visibility for EntityRepositoryGenerator::generateClassName()dc3bc45Merge remote-tracking branch 'upstream/master' into EntityRepositoryGeneratorDefaultRepository📊 Changes
9 files changed (+511 additions, -9 deletions)
View changed files
📝
lib/Doctrine/ORM/Tools/Console/Command/GenerateRepositoriesCommand.php(+4 -0)📝
lib/Doctrine/ORM/Tools/EntityRepositoryGenerator.php(+73 -9)➕
tests/Doctrine/Tests/Models/DDC3231/DDC3231EntityRepository.php(+7 -0)➕
tests/Doctrine/Tests/Models/DDC3231/DDC3231User1.php(+23 -0)➕
tests/Doctrine/Tests/Models/DDC3231/DDC3231User1NoNamespace.php(+21 -0)➕
tests/Doctrine/Tests/Models/DDC3231/DDC3231User2.php(+23 -0)➕
tests/Doctrine/Tests/Models/DDC3231/DDC3231User2NoNamespace.php(+21 -0)➕
tests/Doctrine/Tests/ORM/Tools/Console/Command/GenerateRepositoriesCommandTest.php(+143 -0)➕
tests/Doctrine/Tests/ORM/Tools/EntityRepositoryGeneratorTest.php(+196 -0)📄 Description
Related pull https://github.com/doctrine/DoctrineBundle/pull/315
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.