forked from BitBagCommerce/SyliusCmsPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMediaTranslation.php
executable file
·76 lines (58 loc) · 1.5 KB
/
MediaTranslation.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php
/*
* This file was created by developers working at BitBag
* Do you need more information about us and what we do? Visit our https://bitbag.io website!
* We are hiring developers from all over the world. Join us and start your new, exciting adventure and become part of us: https://bitbag.io/career
*/
declare(strict_types=1);
namespace BitBag\SyliusCmsPlugin\Entity;
use Sylius\Component\Resource\Model\AbstractTranslation;
class MediaTranslation extends AbstractTranslation implements MediaTranslationInterface
{
/** @var int */
protected $id;
/** @var string|null */
protected $name;
/** @var string|null */
protected $content;
/** @var string|null */
protected $alt;
/** @var string|null */
protected $link;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): void
{
$this->name = $name;
}
public function getContent(): ?string
{
return $this->content;
}
public function setContent(?string $content): void
{
$this->content = $content;
}
public function getAlt(): ?string
{
return $this->alt;
}
public function setAlt(?string $alt): void
{
$this->alt = $alt;
}
public function getLink(): ?string
{
return $this->link;
}
public function setLink(?string $link): void
{
$this->link = $link;
}
}