| 1 | <?php |
||
| 16 | class ViewTranslationLegacy extends AbstractPersonalTranslation |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Convenient constructor. |
||
| 20 | * |
||
| 21 | * @param string $locale |
||
| 22 | * @param string $field |
||
| 23 | * @param string $value |
||
| 24 | */ |
||
| 25 | public function __construct($locale = null, $field = null, $value = null) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @ORM\ManyToOne(targetEntity="Victoire\Bundle\CoreBundle\Entity\View", inversedBy="translations") |
||
| 34 | * @ORM\JoinColumn(name="object_id", referencedColumnName="id", onDelete="CASCADE") |
||
| 35 | */ |
||
| 36 | protected $object; |
||
| 37 | } |
||
| 38 |