lib/Pagon/ChildProcess.php
public function listen()
    {
        if (!$this->queue) {
            $this->queue = msg_get_queue($this->pid);
            $this->emit('listen');
        }
        return $this;
    }
public function listen()
    {
        if (!$this->queue) {
            $this->queue = msg_get_queue($this->pid);
            $this->emit('listen');
        }
        return $this;
    }
public function listen ( ) { if ( ! $ this -> queue ) { $ this -> queue = msg_get_queue ( $ this -> pid ) ; $ this -> emit ( 'listen' ) ; } return $ this ; }
Register message listener
Register message listener