AbstractTerritory::paperSize()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php namespace Fisharebest\Localization\Territory;
2
3
/**
4
 * Class AbstractTerritory - Representation of a geographic area.
5
 *
6
 * @author    Greg Roach <[email protected]>
7
 * @copyright (c) 2018 Greg Roach
8
 * @license   GPLv3+
9
 */
10
abstract class AbstractTerritory
11
{
12
    /**
13
     * @return int
14
     */
15
    public function firstDay()
16
    {
17
        return 1;
18
    }
19
20
    /**
21
     * @return string
22
     */
23
    public function measurementSystem()
24
    {
25
        return 'metric';
26
    }
27
28
    /**
29
     * @return string
30
     */
31
    public function paperSize()
32
    {
33
        return 'A4';
34
    }
35
36
    /**
37
     * @return int
38
     */
39
    public function weekendStart()
40
    {
41
        return 6;
42
    }
43
44
    /**
45
     * @return int
46
     */
47
    public function weekendEnd()
48
    {
49
        return 0;
50
    }
51
}
52