예제 #1
0
파일: UnixSocket.php 프로젝트: blar/sockets
 /**
  * @param Socket $socket
  *
  * @return bool
  */
 public function equals(Socket $socket) : bool
 {
     if (!$socket instanceof $this) {
         return FALSE;
     }
     if ($this->getFileName() != $socket->getFileName()) {
         return FALSE;
     }
     return TRUE;
 }