<?php
// phpcs:disable Wptopr.NamingConventions.NamespaceName.MaxExceeded
// phpcs:disable Wptopr.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Wptopr\WP\SEO\MyWptopr_Client\Infrastructure\WordPress;

use Wptopr\WP\SEO\MyWptopr_Client\Application\Ports\Site_URL_Provider_Interface;

/**
 * WordPress implementation of the site URL provider.
 */
class Site_URL_Provider implements Site_URL_Provider_Interface {

	/**
	 * Returns the site URL.
	 *
	 * @return string The site URL.
	 */
	public function get(): string {
		return \site_url();
	}
}
