private function sendMessageToTransport(Message $msg) { $this->messagesSent++; $this->transport->sendMessage($msg); }