automatewoo/includes/Entity/WorkflowTimingFixed.php
fei-source 47d3c9a8b6 Update to v6.2.2
Source: GrootMade/Festinger Vault
2026-03-15 08:31:15 +08:00

42 lines
669 B
PHP

<?php
namespace AutomateWoo\Entity;
use AutomateWoo\DateTime;
/**
* @class WorkflowTimingFixed
* @since 5.1.0
*/
class WorkflowTimingFixed extends WorkflowTimingBase {
const TYPE = 'fixed';
/**
* @var DateTime
*/
protected $fixed_date;
/**
* @param DateTime $fixed_date
*/
public function __construct( DateTime $fixed_date ) {
$this->fixed_date = $fixed_date;
}
/**
* @return DateTime
*/
public function get_fixed_datetime() {
return $this->fixed_date;
}
/**
* @param DateTime $fixed_date
* @return $this
*/
public function set_fixed_datetime( DateTime $fixed_date ) {
$this->fixed_date = $fixed_date;
return $this;
}
}