Replies: 1 comment 10 replies
-
|
Hi, thanks for the question. Could you share a simple diff example of what is your goal? It would more readable to me and I'd be able to navigate you better. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In our project we have like 250 standard Doctrine repository classes. For example a
UserRepositoryclass.I want to rename the
UserRepositoryclass toDoctrineUserRepositoryand introduce anUserRepositoryinterface. All code that used to depend on theUserRepositoryclass should now depend on theUserRepositoryinterface. TheDoctrineUserRepositoryshould implement the newly createdUserRepositoryinterface.I looked at the list of Rectors but couldn't find something like this.
What's the best way to achieve this?
App\Repository\UserRepositorytoApp\Infrastructure\Persistence\Doctrine\DoctrineUserRepositorywithout updating depending codeApp\Repository\UserRepositorybased ofApp\Infrastructure\Persistence\Doctrine\DoctrineUserRepositoryApp\Infrastructure\Persistence\Doctrine\DoctrineUserRepositoryand implementApp\Repository\UserRepositoryinterfaceApp\Repository\UserRepositoryclass now depends onApp\Repository\UserRepositoryinterface.Beta Was this translation helpful? Give feedback.
All reactions