/var/www/html_uk/wp-content/plugins/automatewoo/includes/Entity/WorkflowTimingVariable.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
<?php

namespace AutomateWoo\Entity;

/**
 * @class WorkflowTimingVariable
 * @since 5.1.0
 */
class WorkflowTimingVariable extends WorkflowTimingBase {

    const 
TYPE 'datetime';

    
/**
     * @var string
     */
    
protected $variable;

    
/**
     * @param string $variable
     */
    
public function __construct$variable ) {
        
$this->variable $variable;
    }

    
/**
     * @return string
     */
    
public function get_variable() {
        return 
$this->variable;
    }

    
/**
     * @param string $variable
     * @return $this
     */
    
public function set_variable$variable ) {
        
$this->variable $variable;
        return 
$this;
    }
}