<?phpnamespace App\Entity\Gos\Uniqskills\Landing;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\ORM\Mapping as ORM;/** * LandingModuleType * * @ORM\Table(name="landing_module_type") * @ORM\Entity(repositoryClass="App\Repository\Gos\Uniqskills\Landing\LandingModuleTypeRepository") */class LandingModuleType{ /** * @var int * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") */ private $id; /** * @var string * * @ORM\Column(name="name", type="string", length=191, unique=true) */ private $name; /** * @ORM\OneToMany(targetEntity="LandingModule", mappedBy="landingModuleType") */ private $landingModules; /** * @ORM\Column(type="simple_array", nullable=true) */ private $specificLandingTemplates = []; public function __construct() { $this->landingModules = new ArrayCollection(); } /** * Get id * * @return int */ public function getId() { return $this->id; } /** * Set name * * @param string $name * * @return LandingModuleType */ public function setName($name) { $this->name = $name; return $this; } /** * Get name * * @return string */ public function getName() { return $this->name; } /** * Add landingModule * * @param LandingModule $landingModule * @return LandingModuleType */ public function addLandingModule(LandingModule $landingModule) { $this->landingModules[] = $landingModule; return $this; } /** * Remove landingModule * * @param LandingModule $landingModule */ public function removeLandingModule(LandingModule $landingModule) { $this->landingModules->removeElement($landingModule); } /** * Get landingModules * * @return \Doctrine\Common\Collections\Collection */ public function getLandingModules() { return $this->landingModules; } public function getSpecificLandingTemplates(): ?array { return $this->specificLandingTemplates; } public function setSpecificLandingTemplates(?array $specificLandingTemplates): self { $this->specificLandingTemplates = $specificLandingTemplates; return $this; }}