name = $name; $this->config = $config; } /** * 获取http客户端实例 * @return Client */ protected function getHttpClient() { if (is_null($this->httpClient)) { $this->httpClient = new Client($this->clientConfig); } return $this->httpClient; } abstract public function push($urls); }