/
TaskProcess.php
62 lines (48 loc) · 962 Bytes
/
TaskProcess.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php
namespace Concrete\Core\Entity\Command;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\InheritanceType("JOINED")
* @ORM\DiscriminatorColumn(name="processType", type="string")
* @ORM\Table(name="MessengerTaskProcesses")
*/
class TaskProcess extends Process
{
/**
* @ORM\Column(type="json", nullable=true)
*/
protected $input;
/**
* @ORM\ManyToOne(targetEntity="Concrete\Core\Entity\Automation\Task")
*/
protected $task;
/**
* @return mixed
*/
public function getInput()
{
return $this->input;
}
/**
* @param mixed $input
*/
public function setInput($input): void
{
$this->input = $input;
}
/**
* @return mixed
*/
public function getTask()
{
return $this->task;
}
/**
* @param mixed $task
*/
public function setTask($task): void
{
$this->task = $task;
}
}