lib/Pagon/Process.php
public function send($msg)
    {
        // Check queue and send messages
        if ($this->queue && is_resource($this->queue) && msg_stat_queue($this->queue)) {
            return msg_send($this->queue, 1, array(
                'from' => $this->isMaster() ? $this->ppid : $this->pid,
                'to'   => $this->isMaster() ? $this->pid : $this->ppid,
                'body' => $msg
            ), true, false, $error);
        }
        return false;
    }
public function send($msg)
    {
        // Check queue and send messages
        if ($this->queue && is_resource($this->queue) && msg_stat_queue($this->queue)) {
            return msg_send($this->queue, 1, array(
                'from' => $this->isMaster() ? $this->ppid : $this->pid,
                'to'   => $this->isMaster() ? $this->pid : $this->ppid,
                'body' => $msg
            ), true, false, $error);
        }
        return false;
    }
public function send ( $ msg ) { // Check queue and send messages if ( $ this -> queue && is_resource ( $ this -> queue ) && msg_stat_queue ( $ this -> queue ) ) { return msg_send ( $ this -> queue , 1 , array ( 'from' => $ this -> isMaster ( ) ? $ this -> ppid : $ this -> pid , 'to' => $ this -> isMaster ( ) ? $ this -> pid : $ this -> ppid , 'body' => $ msg ) , true , false , $ error ) ; } return false ; }
Send msg to child process

@param mixed $msg
@return bool
Send msg to child process