public function setRestInputParams($data)
    {
        $oldValue = $this->registry->registry(self::REG_REST_INPUT);
        if (!is_null($oldValue)) {
            $this->registry->unregister(self::REG_REST_INPUT);
        }
        $this->registry->register(self::REG_REST_INPUT, $data);
    }