cloudFederationProviderManager = $cloudFederationProviderManager; } /** * get a list of supported share types * * @param string $resourceType * @return array */ public function getSupportedShareTypes($resourceType) { try { $provider = $this->cloudFederationProviderManager->getCloudFederationProvider($resourceType); return $provider->getSupportedShareTypes(); } catch (\Exception $e) { return []; } } }