original_string: public function resumeAccept()
      {
          // Register a listener to be notified when server socket is ready to read.
          if (static::$globalEvent && true === $this->_pauseAccept && $this->_mainSocket) {
              if ($this->transport !== 'udp') {
                  static::$globalEvent->add($this->_mainSocket, EventInterface::EV_READ, array($this, 'acceptConnection'));
              } else {
                  static::$globalEvent->add($this->_mainSocket, EventInterface::EV_READ, array($this, 'acceptUdpConnection'));
              }
              $this->_pauseAccept = false;
          }
      }
code: public function resumeAccept()
      {
          // Register a listener to be notified when server socket is ready to read.
          if (static::$globalEvent && true === $this->_pauseAccept && $this->_mainSocket) {
              if ($this->transport !== 'udp') {
                  static::$globalEvent->add($this->_mainSocket, EventInterface::EV_READ, array($this, 'acceptConnection'));
              } else {
                  static::$globalEvent->add($this->_mainSocket, EventInterface::EV_READ, array($this, 'acceptUdpConnection'));
              }
              $this->_pauseAccept = false;
          }
      }
code_tokens: public function resumeAccept ( ) { // Register a listener to be notified when server socket is ready to read. if ( static :: $ globalEvent && true === $ this -> _pauseAccept && $ this -> _mainSocket ) { if ( $ this -> transport !== 'udp' ) { static :: $ globalEvent -> add ( $ this -> _mainSocket , EventInterface :: EV_READ , array ( $ this , 'acceptConnection' ) ) ; } else { static :: $ globalEvent -> add ( $ this -> _mainSocket , EventInterface :: EV_READ , array ( $ this , 'acceptUdpConnection' ) ) ; } $ this -> _pauseAccept = false ; } }
docstring: Resume accept new connections.
  
  @return void
docstring_tokens: Resume accept new connections .