mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +08:00
Create an interface for all integration controllers
This commit is contained in:
parent
327a87dfe8
commit
8a67585976
1 changed files with 18 additions and 0 deletions
18
modules/ppcp-compat/src/Integration.php
Normal file
18
modules/ppcp-compat/src/Integration.php
Normal 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;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue