private function sendResponse($response)
    {
        if ($response instanceof ResponseInterface) {
            $response->sendContent();
        } else {
            echo $this->response->send($response);
        }
    }
private function sendResponse($response)
    {
        if ($response instanceof ResponseInterface) {
            $response->sendContent();
        } else {
            echo $this->response->send($response);
        }
    }
private function sendResponse ( $ response ) { if ( $ response instanceof ResponseInterface ) { $ response -> sendContent ( ) ; } else { echo $ this -> response -> send ( $ response ) ; } }
Send the answer to the customer

@param mixed $response
@return null
Send the answer to the customer