Files
piratepoet/mailpoet/lib/Automation/Engine/API/Response.php
Jan Jakes da2621230d Move automation engine code under "Engine" namespace
This is to separate the engine itself from "integrations" that will be
built on top of the engine.

[MAILPOET-4136]
2022-03-14 09:36:21 +01:00

15 lines
284 B
PHP

<?php declare(strict_types = 1);
namespace MailPoet\Automation\Engine\API;
use WP_REST_Response;
class Response extends WP_REST_Response {
public function __construct(
array $data = null,
int $status = 200
) {
parent::__construct(['data' => $data], $status);
}
}