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

Order::setId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 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