realm_name ?? null; if (isset($realm_name)) { return "/_security/saml/metadata/$realm_name"; } throw new RuntimeException('Missing parameter for the endpoint security.saml_service_provider_metadata'); } public function getParamWhitelist(): array { return []; } public function getMethod(): string { return 'GET'; } public function setRealmName($realm_name): SamlServiceProviderMetadata { if (isset($realm_name) !== true) { return $this; } $this->realm_name = $realm_name; return $this; } }