Create an interface for all integration controllers

This commit is contained in:
Narek Zakarian 2023-10-16 14:43:41 +04:00
parent 327a87dfe8
commit 8a67585976
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7

View file

@ -0,0 +1,18 @@
<?php
/**
* Interface for all integration controllers.
*
* @package WooCommerce\PayPalCommerce\OrderTracking\Shipment
*/
declare(strict_types=1);
namespace WooCommerce\PayPalCommerce\Compat;
interface Integration
{
/**
* Integrates some (possibly external) service with PayPal Payments.
*/
public function integrate(): void;
}