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