TestController::getTestJsonResponse PHP Method

getTestJsonResponse() public method

This is some test documentation
public getTestJsonResponse ( $req, $res )
    function getTestJsonResponse($req, $res)
    {
        $res->add(json_encode($req));
        $res->send(200, 'json');
    }