ExportCommand   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 44
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 6
lcom 0
cbo 0
dl 0
loc 44
ccs 15
cts 15
cp 1
rs 10
c 0
b 0
f 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getDomains() 0 4 1
A setDomains() 0 6 1
A getLocales() 0 4 1
A setLocales() 0 6 1
A getFormat() 0 4 1
A setFormat() 0 6 1
1
<?php
2
3
namespace Kunstmaan\TranslatorBundle\Model\Export;
4
5
class ExportCommand
6
{
7
    private $domains = false;
8
9
    private $format = 'yml';
10
11
    private $locales = false;
12
13 1
    public function getDomains()
14
    {
15 1
        return $this->domains;
16
    }
17
18 1
    public function setDomains($domains)
19
    {
20 1
        $this->domains = $domains;
21
22 1
        return $this;
23
    }
24
25 1
    public function getLocales()
26
    {
27 1
        return $this->locales;
28
    }
29
30 1
    public function setLocales($locales)
31
    {
32 1
        $this->locales = $locales;
33
34 1
        return $this;
35
    }
36
37 1
    public function getFormat()
38
    {
39 1
        return $this->format;
40
    }
41
42 1
    public function setFormat($format)
43
    {
44 1
        $this->format = $format;
45
46 1
        return $this;
47
    }
48
}
49