HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/InvalidDomainName.php.tar
httpdocs/wp-content/plugins/google-listings-and-ads/src/Exception/InvalidDomainName.php000064400000001675151551361310033615 0ustar00var/www/vhosts/uyarreklam.com.tr<?php
declare( strict_types=1 );

namespace Automattic\WooCommerce\GoogleListingsAndAds\Exception;

use InvalidArgumentException;

defined( 'ABSPATH' ) || exit;


/**
 * Class InvalidDomainName
 *
 * @package Automattic\WooCommerce\GoogleListingsAndAds\Exception
 */
class InvalidDomainName extends InvalidArgumentException implements GoogleListingsAndAdsException {
	/**
	 * Create a new instance of the exception when a Merchant Center account can't be created
	 * because of an invalid top-level domain name.
	 *
	 * @param string $domain_name The top level domain name.
	 *
	 * @return static
	 */
	public static function create_account_failed_invalid_top_level_domain_name( string $domain_name ): InvalidDomainName {
		return new static(
		/* translators: 1 top level domain name. */
			sprintf( __( 'Unable to create an account, the domain name "%s" must end with a valid top-level domain name.', 'google-listings-and-ads' ), $domain_name )
		);
	}
}