ReferralsByCompanyGroupByResponseHandler

Implements \DruidFamiliar\Interfaces\IDruidQueryResponseHandler

Class ReferralsByCompanyGroupByResponseHandler attempts to convert a Druid response into a ExampleReferralByCompanyResponseObject.

package

DruidFamiliar\ResponseHandler

Methods

Hook function to handle response from server. Called with a PHP array of the JSON response from Druid.

handleResponse(\Guzzle\Http\Message\Response $response) : \DruidFamiliar\ExampleResponseObjects\ExampleReferralByCompanyResponseObject

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

Arguments

$response

\Guzzle\Http\Message\Response

Response

\DruidFamiliar\ExampleResponseObjects\ExampleReferralByCompanyResponseObject