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

24 lines
560 B
PHP

<?php declare(strict_types = 1);
namespace MailPoet\Automation\Engine\API;
use MailPoet\Automation\Engine\Exceptions;
abstract class Endpoint {
public function get(Request $request): Response {
throw Exceptions::apiMethodNotAllowed();
}
public function post(Request $request): Response {
throw Exceptions::apiMethodNotAllowed();
}
public function put(Request $request): Response {
throw Exceptions::apiMethodNotAllowed();
}
public function delete(Request $request): Response {
throw Exceptions::apiMethodNotAllowed();
}
}