src/AjaxResponse.php
public function render()
    {
        $responseData = array(
            "status" => $this->_statusCode,
            "body"   => $this->_content,
            "errors" => $this->_errors
        );
        
        return json_encode($responseData);
    }
public function render()
    {
        $responseData = array(
            "status" => $this->_statusCode,
            "body"   => $this->_content,
            "errors" => $this->_errors
        );
        
        return json_encode($responseData);
    }
public function render ( ) { $ responseData = array ( "status" => $ this -> _statusCode , "body" => $ this -> _content , "errors" => $ this -> _errors ) ; return json_encode ( $ responseData ) ; }
Ajax render function

@return string
Ajax render function