src/Common/Internal/ServiceBusSettings.php
public static function createFromConnectionString($connectionString) {
        $tokenizedSettings = self::parseAndValidateKeys($connectionString);
        if (array_key_exists(Resources::SHARED_SHARED_ACCESS_KEY_NAME, $tokenizedSettings)) {
            return self::createServiceBusWithSasAuthentication($tokenizedSettings, $connectionString);
        }

        return self::createServiceBusWithWrapAuthentication($tokenizedSettings, $connectionString);
    }
public static function createFromConnectionString($connectionString) {
        $tokenizedSettings = self::parseAndValidateKeys($connectionString);
        if (array_key_exists(Resources::SHARED_SHARED_ACCESS_KEY_NAME, $tokenizedSettings)) {
            return self::createServiceBusWithSasAuthentication($tokenizedSettings, $connectionString);
        }

        return self::createServiceBusWithWrapAuthentication($tokenizedSettings, $connectionString);
    }
public static function createFromConnectionString ( $ connectionString ) { $ tokenizedSettings = self :: parseAndValidateKeys ( $ connectionString ) ; if ( array_key_exists ( Resources :: SHARED_SHARED_ACCESS_KEY_NAME , $ tokenizedSettings ) ) { return self :: createServiceBusWithSasAuthentication ( $ tokenizedSettings , $ connectionString ) ; } return self :: createServiceBusWithWrapAuthentication ( $ tokenizedSettings , $ connectionString ) ; }
Creates a ServiceBusSettings object from the given connection string.

@param string $connectionString The storage settings connection string

@return ServiceBusSettings|void
Creates a ServiceBusSettings object from the given connection string .