protected function __construct($method, $url) { $this->transportMethod = $method; $this->peerUrl = $url; $this->key = $method . ';' . $url; }