args = $args; $this->response = $response; } /** * @since 3.15.0 */ public function __serialize(): array { return [ 'donor_email' => $this->args->comment_author_email, 'filter' => 'akismet', 'message' => $this->formatMessage(), ]; } /** * @since 3.15.0 */ public function formatMessage(): string { return sprintf( '

%1$s

%2$s

%3$s
%4$s

', __( 'Request', 'give' ), print_r( $this->args, true ), __( 'Response', 'give' ), print_r( $this->response, true ) ); } }