<?php
/**
 * Search Form Class
 *
 * @package errigal
 * @since 1.1.0
 */

namespace Errigal\Search;

defined( 'ABSPATH' ) || exit;

/**
 * This class is in charge of providing search form settings and functions.
 *
 * @since 1.1.0
 */
class Errigal_Search_Form {
	/**
	 * Aria label.
	 *
	 * @since 1.1.0
	 *
	 * @link https://developer.wordpress.org/reference/functions/get_search_form/
	 *
	 * @var string
	 */
	public const ARIA_LABEL = 'aria_label';

	/**
	 * Gets label.
	 *
	 * @since 1.2.0
	 *
	 * @return string
	 */
	public static function get_label() {
		return esc_html__( 'Search', 'errigal' );
	}
}
