ContainerAwareInterface.php 0000644 00000001031 15154735744 0012012 0 ustar 00 <?php
declare( strict_types=1 );
namespace Automattic\WooCommerce\GoogleListingsAndAds\Internal\Interfaces;
use Automattic\WooCommerce\GoogleListingsAndAds\Vendor\Psr\Container\ContainerInterface;
defined( 'ABSPATH' ) || exit;
/**
* Interface ContainerAwareInterface
*
* @package Automattic\WooCommerce\GoogleListingsAndAds\Internal\Interfaces
*/
interface ContainerAwareInterface {
/**
* @param ContainerInterface $container
*
* @return void
*/
public function set_container( ContainerInterface $container ): void;
}
FirstInstallInterface.php 0000644 00000000564 15154735744 0011540 0 ustar 00 <?php
declare( strict_types=1 );
namespace Automattic\WooCommerce\GoogleListingsAndAds\Internal\Interfaces;
/**
* Interface FirstInstallInterface
*
* @package Automattic\WooCommerce\GoogleListingsAndAds\Internal\Interfaces
*/
interface FirstInstallInterface {
/**
* Logic to run when the plugin is first installed.
*/
public function first_install(): void;
}
ISO3166AwareInterface.php 0000644 00000001027 15154735744 0011047 0 ustar 00 <?php
declare( strict_types=1 );
namespace Automattic\WooCommerce\GoogleListingsAndAds\Internal\Interfaces;
use Automattic\WooCommerce\GoogleListingsAndAds\Vendor\League\ISO3166\ISO3166DataProvider;
defined( 'ABSPATH' ) || exit;
/**
* Interface ISO3166AwareInterface
*
* @package Automattic\WooCommerce\GoogleListingsAndAds\HelperTraits
*/
interface ISO3166AwareInterface {
/**
* @param ISO3166DataProvider $provider
*
* @return void
*/
public function set_iso3166_provider( ISO3166DataProvider $provider ): void;
}
InstallableInterface.php 0000644 00000001046 15154735744 0011350 0 ustar 00 <?php
declare( strict_types=1 );
namespace Automattic\WooCommerce\GoogleListingsAndAds\Internal\Interfaces;
defined( 'ABSPATH' ) || exit;
/**
* Interface Installable
*
* @package Automattic\WooCommerce\GoogleListingsAndAds\Internal\Interfaces
*/
interface InstallableInterface {
/**
* Run installation logic for this class.
*
* @param string $old_version Previous version before updating.
* @param string $new_version Current version after updating.
*/
public function install( string $old_version, string $new_version ): void;
}