public function get($url, $headers = null, $options = null) { return $this->request($url, "GET", null, $headers, $options); }
public function performAction() { $rollingCurl = new RollingCurl(); foreach ($this->getPerlTablesUrlList() as $url) { $rollingCurl->get($url); } $rollingCurl->setCallback(function (Request $request, RollingCurl $rollingCurl) { $this->response->addContent($request->getUrl()); $content = $request->getResponseText(); $this->parsePerlTable($content); })->execute(); }