class Parser (View source)

Methods

__construct($ch)

Parser constructor.

mixed|null
raw()

Retourne des données brutes

mixed|null
getContent()

Retourne des données

string
toJson(array $default = null)

Retourne la reponse en json

array|mixed
toArray()

Retourne la reponse sous forme de tableau

array
getHeaders()

No description

string
getCode()

No description

string
getExecutionTime()

No description

string
getConnexionTime()

No description

string
getUploadSize()

No description

string
getUploadSpeed()

No description

string
getDownloadSize()

No description

string
getDownloadSpeed()

No description

string
getErrorMessage()

No description

int
getErrorNumber()

No description

string
getContentType()

No description

addAttach($attach)

No description

array
getAttach()

No description

setAttach($attachs)

No description

Details

__construct($ch)

Parser constructor.

Parameters

$ch

mixed|null raw()

Retourne des données brutes

Return Value

mixed|null

Exceptions

mixed|null getContent()

Retourne des données

Return Value

mixed|null

Exceptions

string toJson(array $default = null)

Retourne la reponse en json

Parameters

array $default

Return Value

string

Exceptions

array|mixed toArray()

Retourne la reponse sous forme de tableau

Return Value

array|mixed

Exceptions

array getHeaders()

No description

Return Value

array

Exceptions

string getCode()

No description

Return Value

string

Exceptions

string getExecutionTime()

No description

Return Value

string

Exceptions

string getConnexionTime()

No description

Return Value

string

Exceptions

string getUploadSize()

No description

Return Value

string

Exceptions

string getUploadSpeed()

No description

Return Value

string

Exceptions

string getDownloadSize()

No description

Return Value

string

Exceptions

string getDownloadSpeed()

No description

Return Value

string

Exceptions

string getErrorMessage()

No description

Return Value

string

Exceptions

int getErrorNumber()

No description

Return Value

int

Exceptions

string getContentType()

No description

Return Value

string

Exceptions

addAttach($attach)

No description

Parameters

$attach

array getAttach()

No description

Return Value

array

setAttach($attachs)

No description

Parameters

$attachs