Passed
Push — develop ( 43df78...c9630b )
by BENARD
12:26
created

UpdateTable   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
c 1
b 0
f 0
dl 0
loc 24
rs 10
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A setFunction() 0 3 1
A getTarget() 0 3 1
A getFunction() 0 3 1
A setTarget() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace VideoGamesRecords\DwhBundle\Scheduler\Message;
6
7
class UpdateTable
8
{
9
    private string $target = '';
10
11
    private string $function = 'process';
12
13
    public function getTarget(): string
14
    {
15
        return $this->target;
16
    }
17
18
    public function setTarget(string $target): void
19
    {
20
        $this->target = $target;
21
    }
22
23
    public function getFunction(): string
24
    {
25
        return $this->function;
26
    }
27
28
    public function setFunction(string $function): void
29
    {
30
        $this->function = $function;
31
    }
32
}
33