File "IntegrationInterface.php"

Full Path: /home/warrior1/public_html/plugins/google-listings-and-ads/src/Integration/IntegrationInterface.php
File size: 554 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
declare( strict_types=1 );

namespace Automattic\WooCommerce\GoogleListingsAndAds\Integration;

defined( 'ABSPATH' ) || exit;

/**
 * Interface IntegrationInterface
 *
 * @package Automattic\WooCommerce\GoogleListingsAndAds\Integration
 */
interface IntegrationInterface {
	/**
	 * Returns whether the integration is active or not.
	 *
	 * @return bool
	 */
	public function is_active(): bool;

	/**
	 * Initializes the integration (e.g. by registering the required hooks, filters, etc.).
	 *
	 * @return void
	 */
	public function init(): void;
}