123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?php
- namespace Gedmo\Translator;
- /**
- * Entity/Document translation interface.
- *
- * @author Konstantin Kudryashov <ever.zet@gmail.com>
- * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
- */
- interface TranslationInterface
- {
- /**
- * Set translatable
- *
- * @param string $translatable
- */
- function setTranslatable($translatable);
- /**
- * Get translatable
- *
- * @return string $translatable
- */
- function getTranslatable();
- /**
- * Set locale
- *
- * @param string $locale
- */
- function setLocale($locale);
- /**
- * Get locale
- *
- * @return string $locale
- */
- function getLocale();
- /**
- * Set property
- *
- * @param string $property
- */
- function setProperty($property);
- /**
- * Get property
- *
- * @return string $field
- */
- function getProperty();
- /**
- * Set value
- *
- * @param string $value
- * @return TranslationInterface
- */
- function setValue($value);
- /**
- * Get value
- *
- * @return string $value
- */
- function getValue();
- }
|