<?php

namespace SugarCalendarBookings\Support\SmartTags;

/**
 * Site Name smart tag.
 *
 * @since 1.0.0
 */
class SiteNameSmartTag implements SmartTagInterface {

	/**
	 * Get the smart tag key.
	 *
	 * @since 1.0.0
	 *
	 * @return string
	 */
	public function get_key() {

		return '{site_name}';
	}

	/**
	 * Get the smart tag value.
	 *
	 * @since 1.0.0
	 *
	 * @return string
	 */
	public function get_value() {

		return get_bloginfo( 'name' );
	}
}
