/var/www/html_uk/wp-content/plugins/automatewoo/includes/Entity/WorkflowTimingFixed.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?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 __constructDateTime $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_datetimeDateTime $fixed_date ) {
        
$this->fixed_date $fixed_date;
        return 
$this;
    }
}