public static function findAvailableSmsProviders()
    {
        /** @var SMSProvider[] $smsProviders */
        $smsProviders = Plugin\Manager::getInstance()->findMultipleComponents('SMSProvider', 'Piwik\Plugins\MobileMessaging\SMSProvider');

        $providers = array();

        foreach ($smsProviders as $provider) {
            /** @var SMSProvider $provider */
            $provider = StaticContainer::get($provider);
            if ($provider->isAvailable()) {
                $providers[$provider->getId()] = $provider;
            }
        }

        return $providers;
    }
public static function findAvailableSmsProviders()
    {
        /** @var SMSProvider[] $smsProviders */
        $smsProviders = Plugin\Manager::getInstance()->findMultipleComponents('SMSProvider', 'Piwik\Plugins\MobileMessaging\SMSProvider');

        $providers = array();

        foreach ($smsProviders as $provider) {
            /** @var SMSProvider $provider */
            $provider = StaticContainer::get($provider);
            if ($provider->isAvailable()) {
                $providers[$provider->getId()] = $provider;
            }
        }

        return $providers;
    }
public static function findAvailableSmsProviders ( ) { /** @var SMSProvider[] $smsProviders */ $ smsProviders = Plugin \ Manager :: getInstance ( ) -> findMultipleComponents ( 'SMSProvider' , 'Piwik\Plugins\MobileMessaging\SMSProvider' ) ; $ providers = array ( ) ; foreach ( $ smsProviders as $ provider ) { /** @var SMSProvider $provider */ $ provider = StaticContainer :: get ( $ provider ) ; if ( $ provider -> isAvailable ( ) ) { $ providers [ $ provider -> getId ( ) ] = $ provider ; } } return $ providers ; }
Returns all available SMS Providers

@return SMSProvider[]
@ignore
Returns all available SMS Providers