ExportCommand::setDomains()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 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