public function endResponse($response, $content) { // send content & close $response->end($content); }