src/DruidFamiliar/ResponseHandler/GroupByResponseHandler.php
public function handleResponse($response)
    {
        $response = $response->json();

        $responseObj = new GroupByResponse();
        $responseObj->setData($response);

        return $responseObj;
    }
public function handleResponse($response)
    {
        $response = $response->json();

        $responseObj = new GroupByResponse();
        $responseObj->setData($response);

        return $responseObj;
    }
Hook function to handle response from server.

This hook must return the response, whether changed or not, so that the rest of the system can continue with it.

@param Response $response

@return mixed