Completed
Push — master ( b7db91...9b4aa4 )
by Дмитрий
03:25
created

AccessToken::getIdentity()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
/**
3
 * SocialConnect project
4
 * @author: Patsura Dmitry https://github.com/ovr <[email protected]>
5
 */
6
7
namespace SocialConnect\Auth\Provider\OpenID;
8
9
class AccessToken
10
{
11
    /**
12
     * @var string
13
     */
14
    protected $identity;
15
16
    public function __construct($identity)
17
    {
18
        $this->identity = $identity;
19
    }
20
21
    /**
22
     * @return string
23
     */
24
    public function getIdentity()
25
    {
26
        return $this->identity;
27
    }
28
}
29