Passed
Pull Request — master (#14)
by Pavel
03:16
created

CompositeKeyEntity   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 33
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 33
c 0
b 0
f 0
wmc 3
lcom 0
cbo 0
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getPayload() 0 4 1
A getFirstKey() 0 4 1
A getSecondKey() 0 4 1
1
<?php
2
3
namespace Bankiru\Api\Doctrine\Test\Entity;
4
5
class CompositeKeyEntity
6
{
7
    /** @var  int */
8
    private $firstKey;
9
    /** @var  string */
10
    private $secondKey;
11
    /** @var  string */
12
    private $payload;
13
14
    /**
15
     * @return string
16
     */
17
    public function getPayload()
18
    {
19
        return $this->payload;
20
    }
21
22
    /**
23
     * @return int
24
     */
25
    public function getFirstKey()
26
    {
27
        return $this->firstKey;
28
    }
29
30
    /**
31
     * @return string
32
     */
33
    public function getSecondKey()
34
    {
35
        return $this->secondKey;
36
    }
37
}
38