public function getTransport($transportName)
    {
        if (empty($this->transport[$transportName])) {
            throw new InvalidArgumentException(sprintf('Transport %s not found', $transportName));
        }

        return $this->transport[$transportName];
    }
public function getTransport($transportName)
    {
        if (empty($this->transport[$transportName])) {
            throw new InvalidArgumentException(sprintf('Transport %s not found', $transportName));
        }

        return $this->transport[$transportName];
    }
public function getTransport ( $ transportName ) { if ( empty ( $ this -> transport [ $ transportName ] ) ) { throw new InvalidArgumentException ( sprintf ( 'Transport %s not found' , $ transportName ) ) ; } return $ this -> transport [ $ transportName ] ; }
Get transport by name

@param $transportName
@return TransportInterface
@throws InvalidArgumentException
Get transport by name