Skip to content

Instantly share code, notes, and snippets.

@Nightbr
Created October 2, 2018 08:46
Show Gist options
  • Save Nightbr/823625d2b9747450d526377ba191635b to your computer and use it in GitHub Desktop.
Save Nightbr/823625d2b9747450d526377ba191635b to your computer and use it in GitHub Desktop.
<?php
namespace App\Entity\Translation;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Translatable\Entity\MappedSuperclass\AbstractTranslation;
/**
* @ORM\Table(name="company_translations", indexes={
* @ORM\Index(name="company_translation_idx", columns={"locale", "object_class", "field", "foreign_key"})
* })
* @ORM\Entity(repositoryClass="Gedmo\Translatable\Entity\Repository\TranslationRepository")
*/
class CompanyTranslation 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