1 | <?php |
||
25 | class CurlFetcher implements FetcherInterface |
||
26 | { |
||
27 | /** |
||
28 | * @var array The Curl options to use. |
||
29 | */ |
||
30 | private $curlOptions; |
||
31 | |||
32 | /** |
||
33 | * Create a new CurlFetcher instance. |
||
34 | * |
||
35 | * @param array $curlOptions The Curl options to use. See http://php.net/manual/de/function.curl-setopt.php |
||
36 | * for a list of available options. |
||
37 | */ |
||
38 | 3 | public function __construct($curlOptions = array()) |
|
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | 3 | public function fetch($url) |
|
59 | } |
||
60 |