Completed
Push — develop ( f876c4...3b7fce )
by
unknown
10:26
created

KeyResourceIdentifier   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 4 1
1
<?php
2
/**
3
 * @author @ct-jensschulze <[email protected]>
4
 */
5
6
namespace Commercetools\Core\Model\Common;
7
8
/**
9
 * @package Commercetools\Core\Model\Common
10
 *
11
 * @method string getTypeId()
12
 * @method KeyResourceIdentifier setTypeId(string $typeId = null)
13
 * @method KeyResourceIdentifier setId(string $id = null)
14
 * @method string getKey()
15
 * @method KeyResourceIdentifier setKey(string $key = null)
16
 */
17
class KeyResourceIdentifier extends ResourceIdentifier
18
{
19
    /**
20
     * @internal
21
     * @return null
22
     */
23
    public function getId()
24
    {
25
        return null;
26
    }
27
28
    /**
29
     * @internal
30
     * @param null $id
31
     * @return $this
32
     */
33
    public function setId($id = null)
34
    {
35
        return $this;
36
    }
37
}
38