@@ 106-114 (lines=9) @@ | ||
103 | /** |
|
104 | * @inheritdoc |
|
105 | */ |
|
106 | public function disconnect() |
|
107 | { |
|
108 | if ($this->socket) { |
|
109 | $host = $this->location->getHost(); |
|
110 | $port = $this->location->getPort(); |
|
111 | ||
112 | $this->socket->disconnect("tcp://{$host}:$port"); |
|
113 | } |
|
114 | } |
|
115 | ||
116 | public function __destruct() |
|
117 | { |
@@ 175-183 (lines=9) @@ | ||
172 | /** |
|
173 | * @inheritdoc |
|
174 | */ |
|
175 | public function disconnect() |
|
176 | { |
|
177 | if ($this->socket) { |
|
178 | $host = $this->location->getHost(); |
|
179 | $port = $this->location->getPort(); |
|
180 | ||
181 | $this->socket->disconnect("tcp://{$host}:$port"); |
|
182 | } |
|
183 | } |
|
184 | ||
185 | public function __destruct() |
|
186 | { |