public function __construct(TransportInterface $transport, ClientInterface $peer) { $this->transport = $transport; $this->peer = $peer; }