Completed
Pull Request — master (#139)
by
unknown
04:18
created

Schedule::getWorkingDaysTill()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Yandex\Market\Content\Models;
4
5
use Yandex\Common\Model;
6
7
class Schedule extends Model
8
{
9
    protected $workingDaysFrom = null;
10
11
    protected $workingDaysTill = null;
12
13
    protected $workingHoursFrom = null;
14
15
    protected $workingHoursTill = null;
16
17
    /**
18
     * Retrieve the workingDaysFrom property
19
     *
20
     * @return int|null
21
     */
22 5
    public function getWorkingDaysFrom()
23
    {
24 5
        return $this->workingDaysFrom;
25
    }
26
27
    /**
28
     * Retrieve the workingDaysTill property
29
     *
30
     * @return int|null
31
     */
32 5
    public function getWorkingDaysTill()
33
    {
34 5
        return $this->workingDaysTill;
35
    }
36
37
    /**
38
     * Retrieve the workingHoursFrom property
39
     *
40
     * @return string|null
41
     */
42 5
    public function getWorkingHoursFrom()
43
    {
44 5
        return $this->workingHoursFrom;
45
    }
46
47
    /**
48
     * Retrieve the workingHoursTill property
49
     *
50
     * @return string|null
51
     */
52 5
    public function getWorkingHoursTill()
53
    {
54 5
        return $this->workingHoursTill;
55
    }
56
}
57