I have two doctrine entities that are very similar, but not the same.

I was thinking about creating an Interface or using abstract methods to share duplicate code between them, but unsure if this is best practice in regards to this.

I have two separate entities with many setters and getters that are very similar.

Which is the best approach in this case to share code between entities?