title . ' [' . $this->alias . ']'; } public function __construct() { $this->nextStatusAllowed = new ArrayCollection(); } public function getTitle(): ?string { return $this->title; } public function setTitle(string $title): self { $this->title = $title; return $this; } public function getDescription(): ?string { return $this->description; } public function setDescription(?string $description): self { $this->description = $description; return $this; } /** * @return Collection|self[] */ public function getNextStatusAllowed(): Collection { return $this->nextStatusAllowed; } public function addNextStatusAllowed(OrderStatusInterface $nextStatusAllowed): self { if (!$this->nextStatusAllowed->contains($nextStatusAllowed)) { $this->nextStatusAllowed[] = $nextStatusAllowed; } return $this; } public function removeNextStatusAllowed(OrderStatusInterface $nextStatusAllowed): self { if ($this->nextStatusAllowed->contains($nextStatusAllowed)) { $this->nextStatusAllowed->removeElement($nextStatusAllowed); } return $this; } public function getAlias(): ?string { return $this->alias; } public function setAlias(string $alias): self { $this->alias = $alias; return $this; } public function getColor(): ?string { return $this->color; } public function setColor(?string $color): self { $this->color = $color; return $this; } }