<?php
/**
 * SettingsInterface interface file.
 *
 * @package cyr-to-lat
 */

namespace CyrToLat\Settings\Abstracts;

/**
 * Interface SettingsInterface.
 */
interface SettingsInterface {
	/**
	 * Get plugin option.
	 *
	 * @param string $key         Setting name.
	 * @param mixed  $empty_value Empty value for this setting.
	 *
	 * @return string|array The value specified for the option or a default value for the option.
	 */
	public function get( string $key, $empty_value = null );
}
