active; } public function getId(): int { return $this->id; } public function getName(): array { return $this->name; } /** * Is active * return true if the category type is active. */ public function isActive(): bool { return $this->getActive(); } /** * Set active * set to true if the category type is active. */ public function setActive(bool $active): self { $this->active = $active; return $this; } public function setName(array $name): self { $this->name = $name; return $this; } }