public static function defaultConnectionName()
    {
        $namespaceParts = explode('\\', get_called_class());
        $plugin = array_slice(array_reverse($namespaceParts), 3, 2);

        return Inflector::underscore(current($plugin));
    }
public static function defaultConnectionName()
    {
        $namespaceParts = explode('\\', get_called_class());
        $plugin = array_slice(array_reverse($namespaceParts), 3, 2);

        return Inflector::underscore(current($plugin));
    }
public static function defaultConnectionName ( ) { $ namespaceParts = explode ( '\\' , get_called_class ( ) ) ; $ plugin = array_slice ( array_reverse ( $ namespaceParts ) , 3 , 2 ) ; return Inflector :: underscore ( current ( $ plugin ) ) ; }
Get the default connection name.

This method is used to get the fallback connection name if an
instance is created through the EndpointRegistry without a connection.

@return string

@see \Muffin\Webservice\Model\EndpointRegistry::get()
Get the default connection name .