OptionManager
Table of Contents
Methods
-
clearOptions()
: self
-
getOption()
: mixed
-
getOptions()
: array<string|int, mixed>
-
getProviderId()
: string
-
getSocketTimeout()
: int
-
getStreamTimeout()
: int
-
setOption()
: self
-
setOptions()
: self
-
setSocketTimeout()
: self
-
setStreamTimeout()
: self
clearOptions()
public
clearOptions() : self
getOption()
public
getOption(string $optionName[, mixed $defaultValue = null ]) : mixed
Parameters
-
$optionName
: string
-
-
$defaultValue
: mixed
= null
-
getOptions()
public
getOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>
getProviderId()
public
getProviderId() : string
getSocketTimeout()
public
getSocketTimeout() : int
getStreamTimeout()
public
getStreamTimeout() : int
setOption()
public
setOption(string $optionName, mixed $optionValue) : self
Parameters
-
$optionName
: string
-
-
$optionValue
: mixed
-
setOptions()
public
setOptions(array<string|int, mixed> $options) : self
Parameters
-
$options
: array<string|int, mixed>
-
setSocketTimeout()
public
setSocketTimeout(int $socketTimeout) : self
Parameters
-
$socketTimeout
: int
-
setStreamTimeout()
public
setStreamTimeout(int $streamTimeout) : self
Parameters
-
$streamTimeout
: int
-