ClaimSetEntity::getScope()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 1
c 1
b 0
f 1
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
cc 1
nc 1
nop 0
crap 1
1
<?php
2
/**
3
 * @author Steve Rhoades <[email protected]>
4
 * @license http://opensource.org/licenses/MIT MIT
5
 */
6
namespace OpenIDConnectServer\Entities;
7
8
class ClaimSetEntity implements ClaimSetEntityInterface
9
{
10
    protected $scope;
11
12
    protected $claims;
13
14 10
    public function __construct($scope, array $claims)
15
    {
16 10
        $this->scope    = $scope;
17 10
        $this->claims   = $claims;
18 10
    }
19
20 10
    public function getScope()
21
    {
22 10
        return $this->scope;
23
    }
24
25 3
    public function getClaims()
26
    {
27 3
        return $this->claims;
28
    }
29
}
30