fetch_option($name) == 'on' ? 'checked' : ''; } public function get_environment(): string { return $this->fetch_option( self::USE_SANDBOX ) == self::ENABLED ? 'sandbox' : 'production'; } }