Actualización

This commit is contained in:
Xes
2025-04-10 12:24:57 +02:00
parent 8969cc929d
commit 45420b6f0d
39760 changed files with 4303286 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
<?php
namespace Gedmo\Translatable;
/**
* This interface is not necessary but can be implemented for
* Entities which in some cases needs to be identified as
* Translatable
*
* @author Gediminas Morkevicius <gediminas.morkevicius@gmail.com>
* @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
*/
}