| Total Complexity | 6 |
| Total Lines | 56 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class VendorEmail implements VendorEmailInterface |
||
| 10 | { |
||
| 11 | use TimestampableTrait; |
||
| 12 | |||
| 13 | /** @var int|null */ |
||
| 14 | private $id; |
||
| 15 | |||
| 16 | /** @var string|null */ |
||
| 17 | private $value; |
||
| 18 | |||
| 19 | /** @var VendorInterface */ |
||
| 20 | protected $vendor; |
||
| 21 | |||
| 22 | public function __construct() |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @inheritdoc |
||
| 29 | */ |
||
| 30 | public function getId() |
||
| 31 | { |
||
| 32 | return $this->id; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @inheritdoc |
||
| 37 | */ |
||
| 38 | public function getValue(): ?string |
||
| 39 | { |
||
| 40 | return $this->value; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @inheritdoc |
||
| 45 | */ |
||
| 46 | public function setValue(?string $value): void |
||
| 47 | { |
||
| 48 | $this->value = $value; |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | public function getVendor(): ?VendorInterface |
||
| 55 | { |
||
| 56 | return $this->vendor; |
||
| 57 | } |
||
| 58 | |||
| 59 | /** |
||
| 60 | * {@inheritdoc} |
||
| 61 | */ |
||
| 62 | public function setVendor(?VendorInterface $vendor): void |
||
| 65 | } |
||
| 66 | } |
||
| 67 |