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);
                }
            }
        }
    }
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);
                }
            }
        }
    }
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 ) ; } } } }
Configures the response before sending
Configures the response before sending