Exemple #1
0
 public function equals(NetworkInterface $other = null)
 {
     if ($other) {
         return $this->getNumericIp() == $other->getNumericIp() && $this->getNumericIpMask() == $other->getNumericIpMask();
     } else {
         return false;
     }
 }