KeyResourceIdentifier   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
eloc 3
dl 0
loc 19
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0

2 Methods

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