Automattic\WooCommerce\Internal\Checkout
DateFormatLimit::__construct
Sets the comparison and its limit.
Method of the class: DateFormatLimit{}
No Hooks.
Returns
null. Nothing (null).
Usage
$DateFormatLimit = new DateFormatLimit(); $DateFormatLimit->__construct( $keyword, $limit );
- $keyword(string) (required)
- The comparison keyword.
- $limit(string|JsonPointer) (required)
- The date limit or data reference.
Changelog
| Since 11.2.0 | Introduced. |
DateFormatLimit::__construct() DateFormatLimit:: construct code WC 11.2.1
public function __construct( string $keyword, $limit ) {
$this->keyword = $keyword;
$this->limit = $limit;
}