public function put($message) { if (!\msg_send($this->queue, $this->msg_type, $message, $this->serialize_needed, $this->block_send, $err) === true) { throw new \RuntimeException($err); } return true; }