File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/IntegrationInterface.php.tar
httpdocs/wp-content/plugins/google-listings-and-ads/src/Integration/IntegrationInterface.php 0000644 00000001052 15154623615 0034723 0 ustar 00 var/www/vhosts/uyarreklam.com.tr <?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;
}
wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Integrations/IntegrationInterface.php0000644 00000001563 15155632542 0040371 0 ustar 00 var/www/vhosts/uyarreklam.com.tr/httpdocs <?php
namespace Automattic\WooCommerce\Blocks\Integrations;
/**
* Integration.Interface
*
* Integrations must use this interface when registering themselves with blocks,
*/
interface IntegrationInterface {
/**
* The name of the integration.
*
* @return string
*/
public function get_name();
/**
* When called invokes any initialization/setup for the integration.
*/
public function initialize();
/**
* Returns an array of script handles to enqueue in the frontend context.
*
* @return string[]
*/
public function get_script_handles();
/**
* Returns an array of script handles to enqueue in the editor context.
*
* @return string[]
*/
public function get_editor_script_handles();
/**
* An array of key, value pairs of data made available to the block on the client side.
*
* @return array
*/
public function get_script_data();
}