protected function getTransport(ConnectionInterface $connection) { return (string) $connection->getOption('transport') ?: 'tcp'; }