Completed
Push — master ( 262c8d...48f584 )
by Julien
9s
created

Order   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 36
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 6 1
1
<?php
2
3
namespace Mapado\RestClientSdk\Tests\Model\JsonLd;
4
5
/**
6
 * Order Model
7
 * @author Thomas di Luccio <[email protected]>
8
 */
9
class Order
10
{
11
    /**
12
     * id
13
     *
14
     * @var mixed
15
     * @access private
16
     *
17
     * @Rest\Id
18
     * @Rest\Attribute(name="id", type="string")
19
     */
20
    private $id;
21
22
    /**
23
     * Getter for id
24
     *
25
     * @return string
26
     */
27
    public function getId()
28
    {
29
        return $this->id;
30
    }
31
32
    /**
33
     * Setter for id
34
     *
35
     * @param string $id
36
     * @return Order
37
     */
38
    public function setId($id)
39
    {
40
        $this->id = $id;
41
42
        return $this;
43
    }
44
}
45