public __construct ( $address, $state, array $hostnames = [], array $ports = [] ) | ||
$hostnames | array | |
$ports | array |
public function __construct($address, $state, array $hostnames = array(), array $ports = array())
{
$this->address = $address;
$this->state = $state;
$this->hostnames = $hostnames;
$this->ports = $ports;
}