Adam Quaile
1 min readJun 14, 2018

--

I’ve found in general there’s usually a better reuse method than extends / inheritance — it’s a pretty blunt tool which tends to cause issues later on.

So in the general case I’d personally still avoid it. If you think your domain and code benefit from it, then go for it.

Other things to consider are traits, or still composition, but depending on a generic doctrine entity repository you write instead of the manager directly.

--

--