options['active'] ?? false; } public function isEnabled(): bool { return $this->options['enabled'] ?? false; } public function getOptions(): array { return $this->options ?? []; } public function getNumber(): ?int { return $this->options['number'] ?? null; } public function getLabel(): string { return $this->options['label'] ?? (string)$this->getNumber(); } public function getUrl(): ?string { return $this->options['route'] ? (string)$this->options['route']->getUri() : null; } protected function setOptions(array $options): void { $this->options = $options; } }