Total Complexity | 5 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class UpdateTable |
||
8 | { |
||
9 | private string $target; |
||
10 | |||
11 | private string $function; |
||
12 | |||
13 | public function __construct(string $target, string $function = 'process') |
||
14 | { |
||
15 | $this->target = $target; |
||
16 | $this->function = $function; |
||
17 | } |
||
18 | |||
19 | public function getTarget(): string |
||
20 | { |
||
21 | return $this->target; |
||
22 | } |
||
23 | |||
24 | public function setTarget(string $target): void |
||
25 | { |
||
26 | $this->target = $target; |
||
27 | } |
||
28 | |||
29 | public function getFunction(): string |
||
30 | { |
||
31 | return $this->function; |
||
32 | } |
||
33 | |||
34 | public function setFunction(string $function): void |
||
37 | } |
||
38 | } |
||
39 |