Constructor Adds config values to the public properties when a new object is created.
public __construct ( array $config = [] ) : void | ||
$config | array | Available configuration options are: - `'scheme'` _string_: 'tcp' - `'host'` _string_: 'localhost' - `'port'` _integer_: null - `'username'` _string_: null - `'password'` _string_: null - `'path'` _string_: null - `'body'` _mixed_: null |
return | void |