woocommerce-paypal-payments/lib/packages/Dhii/Modular/Module/ModuleAwareInterface.php

22 lines
461 B
PHP

<?php
declare(strict_types=1);
namespace WooCommerce\PayPalCommerce\Vendor\Dhii\Modular\Module;
/**
* Something that can have a module instance retrieved.
*
* @since 0.2
*/
interface ModuleAwareInterface
{
/**
* Retrieves the module that is associated with this instance.
*
* @since 0.2
*
* @return ModuleInterface|null The module, if applicable; otherwise, null.
*/
public function getModule(): ?ModuleInterface;
}