Prezent / doctrine-translatable

Translatable behaviour extension for Doctrine2
MIT License
26 stars 17 forks source link

TranslatableEntity improvements #3

Closed quentint closed 10 years ago

quentint commented 10 years ago

Simplified the use of TranslatableEntity by adding a default getTranslationEntityClass implementation and refactored the instantiation of the translation occurrences for compatibility.

sandermarechal commented 10 years ago

Hi. It's hard to see what your changes are because you seem to have changed the indentation as well. Could you clean this up by restoring the original indentation? Thanks!

quentint commented 10 years ago

Sorry about that, just fixed it. By the way, this TranslatableEntity class is so useful it should be in the bundle!

sandermarechal commented 10 years ago

Good idea. And thanks for the patch!