Completed
Pull Request — master (#14)
by Pavel
04:14
created

CompositeKeyEntity::getFirstKey()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
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