private function sendConfig() {
        if ($this->content !== null) {
            if (($this->content instanceof stdClass) || is_array($this->content)) {
                $content = ob_get_contents();
                if (empty($content)) {
                    $this->contentType("application/json");
                    $this->content = json_encode($this->content);
                }
            }
        }
    }