File "LocalizedDataInterface.php"

Full Path: /home/capoeirajd/www/wp-content/plugins/wpforms-lite/src/Integrations/Divi/Interfaces/LocalizedDataInterface.php
File size: 576 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace WPForms\Integrations\Divi\Interfaces;

/**
 * Interface for managing localized data for Divi modules.
 *
 * @since 1.9.9
 */
interface LocalizedDataInterface {

	/**
	 * Get the localized data.
	 *
	 * @since 1.9.9
	 *
	 * @return array Localized data array.
	 */
	public function get_localized_data(): array;

	/**
	 * Set the localized data.
	 *
	 * @since 1.9.9
	 *
	 * @param array $script_data Localized data to set.
	 *
	 * @return self Returns the instance for method chaining.
	 */
	public function set_localized_data( array $script_data ): object;
}