renderPage(); } public function slug(): string { return App::PREFIX . $this->slug; } /** * Return one saved setting, falling back to the field default. * * @param string $key Field key. * @return mixed Null when no field uses the key. */ public function value(string $key): mixed { return (new OptionStore($this))->value($key); } /** * Return all fields for the settings page. * * @return array */ abstract public function fields(): array; }