class ProvisionMailWebhookController implements RequestHandlerInterface

Registers or unregisters the delivery-event webhook with the active mail driver's provider, so the admin never has to visit the provider dashboard.

Methods

__construct( MailWebhooks $webhooks, SettingsRepositoryInterface $settings)

No description

ResponseInterface
handle( ServerRequestInterface $request)

No description

ResponseInterface
error(string $detail)

No description

Details

__construct( MailWebhooks $webhooks, SettingsRepositoryInterface $settings)

Parameters

MailWebhooks $webhooks
SettingsRepositoryInterface $settings

ResponseInterface handle( ServerRequestInterface $request)

Parameters

ServerRequestInterface $request

Return Value

ResponseInterface

protected ResponseInterface error(string $detail)

Parameters

string $detail

Return Value

ResponseInterface