src/Queue/PipeQueue.php
public function put($value)
    {
        $len = strlen($value);
        if ($len > 2147483647) {
            throw new \RuntimeException('value is too long');
        }
        $raw = pack('N', $len) . $value;
        $write_len = $this->pipe->write($raw);

        return $write_len == strlen($raw);
    }
public function put($value)
    {
        $len = strlen($value);
        if ($len > 2147483647) {
            throw new \RuntimeException('value is too long');
        }
        $raw = pack('N', $len) . $value;
        $write_len = $this->pipe->write($raw);

        return $write_len == strlen($raw);
    }
public function put ( $ value ) { $ len = strlen ( $ value ) ; if ( $ len > 2147483647 ) { throw new \ RuntimeException ( 'value is too long' ) ; } $ raw = pack ( 'N' , $ len ) . $ value ; $ write_len = $ this -> pipe -> write ( $ raw ) ; return $ write_len == strlen ( $ raw ) ; }
put value into the queue of channel

@param $value
@return bool
put value into the queue of channel