Files
piratepoet/mailpoet/lib/Automation/Engine/API/Endpoints/WorkflowsEndpoint.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

14 lines
379 B
PHP

<?php declare(strict_types = 1);
namespace MailPoet\Automation\Engine\API\Endpoints;
use MailPoet\Automation\Engine\API\Endpoint;
use MailPoet\Automation\Engine\API\Request;
use MailPoet\Automation\Engine\API\Response;
class WorkflowsEndpoint extends Endpoint {
public function get(Request $request): Response {
return new Response(['message' => 'Hello world.']);
}
}