tenant)) { throw new RuntimeException('Missing parameter for the endpoint security.create_tenant'); } return "/_plugins/_security/api/tenants/$this->tenant"; } public function getMethod(): string { return 'PUT'; } /** * @param string|null $tenant * @return CreateTenant */ public function setTenant(?string $tenant): CreateTenant { $this->tenant = $tenant; return $this; } }