File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/Conditional.php.tar
httpdocs/wp-content/plugins/google-listings-and-ads/src/Infrastructure/Conditional.php 0000644 00000001204 15154623444 0033616 0 ustar 00 var/www/vhosts/uyarreklam.com.tr <?php
declare( strict_types=1 );
namespace Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure;
/**
* Conditional interface.
*
* This interface allows objects to be instantiated only as needed. A static method is used to
* determine whether an object needs to be instantiated. This prevents needless instantiation of
* objects that won't be used in the current request.
*
* @package Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure
*/
interface Conditional {
/**
* Check whether this object is currently needed.
*
* @return bool Whether the object is needed.
*/
public static function is_needed(): bool;
}