src/VCR/LibraryHooks/CurlHook.php
public static function curlInit($url = null)
    {
        $curlHandle = \curl_init($url);
        self::$requests[(int) $curlHandle] = new Request('GET', $url);
        self::$curlOptions[(int) $curlHandle] = array();

        return $curlHandle;
    }
public static function curlInit($url = null)
    {
        $curlHandle = \curl_init($url);
        self::$requests[(int) $curlHandle] = new Request('GET', $url);
        self::$curlOptions[(int) $curlHandle] = array();

        return $curlHandle;
    }
public static function curlInit ( $ url = null ) { $ curlHandle = \ curl_init ( $ url ) ; self :: $ requests [ ( int ) $ curlHandle ] = new Request ( 'GET' , $ url ) ; self :: $ curlOptions [ ( int ) $ curlHandle ] = array ( ) ; return $ curlHandle ; }
Initialize a cURL session.

@link http://www.php.net/manual/en/function.curl-init.php
@param string $url (Optional) url.

@return resource cURL handle.
Initialize a cURL session .