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

Schedule   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 50
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 4
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 50
ccs 8
cts 8
cp 1
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getWorkingDaysFrom() 0 4 1
A getWorkingDaysTill() 0 4 1
A getWorkingHoursFrom() 0 4 1
A getWorkingHoursTill() 0 4 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