* @license MIT License (http://www.opensource.org/licenses/mit-license.php) */ interface Translatable { // use now annotations instead of predefined methods, this interface is not necessary /** * @gedmo:TranslationEntity * to specify custom translation class use * class annotation @gedmo:TranslationEntity(class="your\class") */ /** * @gedmo:Translatable * to mark the field as translatable, * these fields will be translated */ /** * @gedmo:Locale OR @gedmo:Language * to mark the field as locale used to override global * locale settings from TranslatableListener */ }