protected function emitResponse(ResponseInterface $response) {
        $this->logger->flush();
        (new \Zend\HttpHandlerRunner\Emitter\SapiEmitter())->emit($response);
    }
protected function emitResponse(ResponseInterface $response) {
        $this->logger->flush();
        (new \Zend\HttpHandlerRunner\Emitter\SapiEmitter())->emit($response);
    }
protected function emitResponse ( ResponseInterface $ response ) { $ this -> logger -> flush ( ) ; ( new \ Zend \ HttpHandlerRunner \ Emitter \ SapiEmitter ( ) ) -> emit ( $ response ) ; }
Emits response to client
@param  ResponseInterface $response
Emits response to client