Jenner\SimpleFork\Queue\SystemVMessageQueue::setStatus PHP Method

setStatus() public method

allows you to change the values of the msg_perm.uid, msg_perm.gid, msg_perm.mode and msg_qbytes fields of the underlying message queue data structure
public setStatus ( string $key, integer $value ) : boolean
$key string status key
$value integer status value
return boolean
    public function setStatus($key, $value)
    {
        $this->checkSetPrivilege($key);
        if ($key == 'msg_qbytes') {
            return $this->setMaxQueueSize($value);
        }
        $queue_status[$key] = $value;
        return \msg_set_queue($this->queue, $queue_status);
    }