| 1 | <?php |
||
| 22 | class SubscriptionTranslation extends AbstractPersonalTranslation |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * Constructor. |
||
| 26 | * |
||
| 27 | * @param string $locale |
||
| 28 | * @param string $field |
||
| 29 | * @param string $value |
||
| 30 | */ |
||
| 31 | public function __construct($locale, $field, $value) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @ORM\ManyToOne(targetEntity="Subscription", inversedBy="translations", cascade={"persist"}) |
||
| 40 | * @ORM\JoinColumn(name="object_id", referencedColumnName="id", onDelete="CASCADE") |
||
| 41 | */ |
||
| 42 | protected $object; |
||
| 43 | } |
||
| 44 |