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/InvalidOption.php.tar
httpdocs/wp-content/plugins/google-listings-and-ads/src/Exception/InvalidOption.php000064400000001200151551751170033044 0ustar00var/www/vhosts/uyarreklam.com.tr<?php
declare( strict_types=1 );

namespace Automattic\WooCommerce\GoogleListingsAndAds\Exception;

use LogicException;

defined( 'ABSPATH' ) || exit;

/**
 * Class InvalidOption
 *
 * @package Automattic\WooCommerce\GoogleListingsAndAds\Exception
 */
class InvalidOption extends LogicException implements GoogleListingsAndAdsException {

	/**
	 * Create a new instance of the exception when an invalid option name is provided.
	 *
	 * @param string $name The option name.
	 *
	 * @return static
	 */
	public static function invalid_name( string $name ) {
		return new static( sprintf( 'The option name "%s" is not valid.', $name ) );
	}
}