Documentation

Curl
in package

Convenience wrapper around the cURL functions to allow mocking.

Table of Contents

Methods

close()  : mixed
exec()  : mixed
init()  : resource
setoptArray()  : bool

Methods

init()

public init([string $url = null ]) : resource
Parameters
$url : string = null
Tags
see
http://php.net/curl_init
Return values
resource

cURL handle

setoptArray()

public setoptArray(resource $ch, array<string|int, mixed> $options) : bool
Parameters
$ch : resource
$options : array<string|int, mixed>
Tags
see
http://php.net/curl_setopt_array
Return values
bool

        
On this page

Search results