ACBackend::endResponse PHP Method

endResponse() private static method

private static endResponse ( $logResponse = true )
    private static function endResponse($logResponse = true)
    {
        if ($logResponse) {
            self::log('Remote command result: `' . ob_get_contents() . '`.');
        }
        if (self::$endCallback) {
            call_user_func(self::$endCallback);
        }
        exit;
    }