File "Note.php"

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

<?php
declare( strict_types=1 );

namespace Automattic\WooCommerce\GoogleListingsAndAds\Notes;

use Automattic\WooCommerce\Admin\Notes\Note as NoteEntry;

defined( 'ABSPATH' ) || exit;

/**
 * Note interface.
 *
 * @since 1.7.0
 *
 * @package Automattic\WooCommerce\GoogleListingsAndAds\Notes
 */
interface Note {

	/**
	 * Get the note's unique name.
	 *
	 * @return string
	 */
	public function get_name(): string;

	/**
	 * Check whether the note should be added.
	 */
	public function should_be_added(): bool;

	/**
	 * Get the note entry.
	 */
	public function get_entry(): NoteEntry;

}