You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is almost exactly what I am looking for, but in a more generic way. My use case is not for Doctrine EntityRepositories.
However, this blog post seems to be a dead-end, since the referenced Rector files don't exist anymore, nor can I find any (useful) reference to them in any of the rectorphp organisation projects.
Is anyone able to give me some pointers, as to if this is possible in any way? Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was looking for an example if rector can be used to transform inheritance into composition. I found a few blog posts about doctrine, this being the most recent one: https://getrector.com/blog/how-to-instantly-decouple-symfony-doctrine-repository-inheritance-to-clean-composition
This is almost exactly what I am looking for, but in a more generic way. My use case is not for Doctrine EntityRepositories.
However, this blog post seems to be a dead-end, since the referenced Rector files don't exist anymore, nor can I find any (useful) reference to them in any of the
rectorphp
organisation projects.Is anyone able to give me some pointers, as to if this is possible in any way? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions