Translation.php 596 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace Gedmo\Translatable\Document;
  3. /**
  4. * Gedmo\Translatable\Document\Translation
  5. *
  6. * @Document(repositoryClass="Gedmo\Translatable\Document\Repository\TranslationRepository")
  7. * @UniqueIndex(name="lookup_unique_idx", keys={
  8. * "locale",
  9. * "object_class",
  10. * "foreign_key",
  11. * "field"
  12. * })
  13. * @Index(name="translations_lookup_idx", keys={
  14. * "locale",
  15. * "object_class",
  16. * "foreign_key"
  17. * })
  18. */
  19. class Translation extends AbstractTranslation
  20. {
  21. /**
  22. * All required columns are mapped through inherited superclass
  23. */
  24. }