1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?php
-
- namespace Gedmo\Translator;
-
- /**
- * Entity/Document translation interface.
- *
- * @author Konstantin Kudryashov <ever.zet@gmail.com>
- * @link http://www.gediminasm.org
- * @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 $field
- */
- function setProperty($property);
-
- /**
- * Get property
- *
- * @return string $field
- */
- function getProperty();
-
- /**
- * Set value
- *
- * @param text $value
- * @return AbstractTranslation
- */
- function setValue($value);
-
- /**
- * Get value
- *
- * @return text $value
- */
- function getValue();
- }
|