// Get protocol and port number and add both together
$key = sprintf("%s:%s:%s",
$connectionInstance->__toString(),
- $connectionInstance->getProtocol(),
+ $connectionInstance->getProtocolName(),
$connectionInstance->getPort()
);
*/
private function getRegistryKeyFromProtocol (ConnectionHelper $connectionInstance) {
// Get the key
- $key = $connectionInstance->getProtocol();
+ $key = $connectionInstance->getProtocolName();
// Return resulting key
return $key;