Exemplo n.º 1
0
 /**
  * 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());
 }
Exemplo n.º 2
0
 public function testClone()
 {
     $request = new Request();
     $clone = clone $request;
     $this->assertThat($request->getHandle(), $this->logicalNot($this->equalTo($clone->getHandle())));
 }