<?php/* * This file is part of Sulu. * * (c) Sulu GmbH * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */namespace Sulu\Bundle\FormBundle\Entity;class FormTranslationReceiver{ /** * @var int */ private $id; /** * @var string */ private $type; /** * @var string */ private $email; /** * @var string */ private $name; /** * @var FormTranslation */ private $formTranslation; public function getId(): int { return $this->id; } public function setId(int $id): self { $this->id = $id; return $this; } public function getType(): string { return $this->type; } public function setType(string $type): self { $this->type = $type; return $this; } public function getEmail(): string { return $this->email; } public function setEmail(string $email): self { $this->email = $email; return $this; } public function getName(): string { return $this->name; } public function setName(string $name): self { $name = $name ?: ''; $this->name = $name; return $this; } public function getFormTranslation(): FormTranslation { return $this->formTranslation; } public function setFormTranslation(FormTranslation $formTranslation): self { $this->formTranslation = $formTranslation; return $this; }}