Completed
Push — master ( 82c5ce...5035b6 )
by Dmitriy
6s
created

Outlet   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 60%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 31
ccs 3
cts 5
cp 0.6
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 5 1
1
<?php
2
3
namespace Yandex\Market\Partner\Models;
4
5
use Yandex\Common\Model;
6
7
class Outlet extends Model
8
{
9
10
    protected $id = null;
11
12
    protected $mappingClasses = [];
13
14
    protected $propNameMap = [];
15
16
    /**
17
     * Retrieve the id property
18
     *
19
     * @return int|null
20
     */
21
    public function getId()
22
    {
23
        return $this->id;
24
    }
25
26
    /**
27
     * Set the id property
28
     *
29
     * @param int $id
30
     * @return $this
31
     */
32 1
    public function setId($id)
33
    {
34 1
        $this->id = $id;
35 1
        return $this;
36
    }
37
}
38