Created
February 11, 2014 08:16
-
-
Save pdrosos/8931011 to your computer and use it in GitHub Desktop.
Translation Doctrine Entity in Typo3 Flow 2.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace My\Gallery\Domain\Model\Translation; | |
use Doctrine\ORM\Mapping as ORM; | |
use Gedmo\Translatable\Entity\MappedSuperclass\AbstractTranslation; | |
/** | |
* @ORM\Table(name="my_gallery_domain_model_gallery_translation", indexes={ | |
* @ORM\Index(name="gallery_translation_idx", columns={"locale", "object_class", "field", "foreign_key"}) | |
* }) | |
* @ORM\Entity(repositoryClass="Gedmo\Translatable\Entity\Repository\TranslationRepository") | |
*/ | |
class GalleryTranslation extends AbstractTranslation { | |
/** | |
* All required columns are mapped through inherited superclass | |
*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment