TokenRequestAttempt::getGrantType()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * @author Boris Guéry <[email protected]>
4
 */
5
6
namespace Bgy\OAuth2;
7
8
class TokenRequestAttempt
9
{
10
    private $inputData;
11
12
    public function __construct(InputDataBag $inputData)
13
    {
14
        $this->inputData = $inputData;
15
    }
16
17
    public function getGrantType()
18
    {
19
        return $this->inputData->getGrantType();
20
    }
21
22
    public function getInputData()
23
    {
24
        return $this->inputData;
25
    }
26
}
27