enabled = give_is_setting_enabled($enabled); $this->heading = $heading; $this->description = $description; } public function isEnabled(): bool { return $this->enabled; } public function hasHeading(): bool { return !empty($this->getHeading()); } public function getHeading(): string { return $this->heading; } public function hasDescription(): bool { return !empty($this->getDescription()); } public function getDescription(): string { return $this->description; } }