/** * Get the content returned by a Request managed by this object * * Analogous to curl_multi_getcontent * * @param Request $request The Request to get the results for * @return string */ public function getContent(Request $request) { return curl_multi_getcontent($request->getHandle()); }
public function testClone() { $request = new Request(); $clone = clone $request; $this->assertThat($request->getHandle(), $this->logicalNot($this->equalTo($clone->getHandle()))); }