Exemplo n.º 1
0
 public function __construct(Address $address, $port)
 {
     parent::__construct($address->getFamily());
     $this->_address = $address;
     $this->_port = intval($port);
 }
Exemplo n.º 2
0
 public function __construct($path)
 {
     parent::__construct(AddressFamily::UNIX);
     $this->_path = $path;
 }