File "Deactivateable.php"

Full Path: /home/warrior1/public_html/wp-content/plugins/google-listings-and-ads/src/Infrastructure/Deactivateable.php
File size: 487 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
declare( strict_types=1 );

namespace Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure;

/**
 * Something that can be deactivated.
 *
 * By implementing a class with this interface, the plugin will automatically hook
 * it up to the WordPress deactivation hook. This means we don't have to worry about
 * manually writing deactivation code.
 */
interface Deactivateable {

	/**
	 * Deactivate the service.
	 *
	 * @return void
	 */
	public function deactivate(): void;
}