File "CastableValueInterface.php"
Full Path: /home/warrior1/public_html/plugins/google-listings-and-ads/src/Value/CastableValueInterface.php
File size: 465 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare( strict_types=1 );
namespace Automattic\WooCommerce\GoogleListingsAndAds\Value;
defined( 'ABSPATH' ) || exit;
/**
* Interface CastableValueInterface
*
* @package Automattic\WooCommerce\GoogleListingsAndAds\Value
*/
interface CastableValueInterface {
/**
* Cast a value and return a new instance of the class.
*
* @param mixed $value Mixed value to cast to class type.
*
* @return self
*/
public static function cast( $value );
}