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

MobileStatus::getFields()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 6
Ratio 100 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 6
loc 6
ccs 3
cts 3
cp 1
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
crap 1
1
<?php
2
namespace Isign\Login;
3
4
use Isign\QueryInterface;
5
use Isign\TokenizedQueryInterface;
6
use Symfony\Component\Validator\Constraints as Assert;
7
8
/**
9
 * Login status for mobile ID.
10
 */
11
class MobileStatus extends AbstractStatus
12
{
13
    /**
14
     * Result object for this query result
15
     * @return MobileStatusResult
16
     */
17 1
    public function createResult()
18
    {
19 1
        return new MobileStatusResult();
20
    }
21
22
    /**
23
     * API action name, part of full url
24
     * @return string
25
     */
26 1
    public function getAction()
27
    {
28 1
        return 'mobile/login/status';
29
    }
30
}
31