File "Activateable.php"
Full Path: /home/warrior1/public_html/plugins/google-listings-and-ads/src/Infrastructure/Activateable.php
File size: 475 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare( strict_types=1 );
namespace Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure;
/**
* Something that can be activated.
*
* By implementing a class with this interface, the plugin will automatically hook
* it up to the WordPress activation hook. This means we don't have to worry about
* manually writing activation code.
*/
interface Activateable {
/**
* Activate the service.
*
* @return void
*/
public function activate(): void;
}