Completed
Pull Request — develop (#9)
by
unknown
03:41
created

SmartIdCertificate   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 2
dl 0
loc 20
ccs 0
cts 8
cp 0
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getAction() 0 4 1
A createResult() 0 4 1
1
<?php
2
3
namespace Isign\Login;
4
5
use Isign\ResultInterface;
6
7
class SmartIdCertificate extends AbstractSmartIdQuery
8
{
9
    /**
10
     * API action name, part of full API request url
11
     * @return string
12
     */
13
    public function getAction()
14
    {
15
        return 'smartid/certificate';
16
    }
17
18
    /**
19
     * Result object for this query result
20
     * @return ResultInterface
21
     */
22
    public function createResult()
23
    {
24
        return new SmartIdCertificateResult();
25
    }
26
}
27