AuthorizationCode   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 3
Bugs 1 Features 0
Metric Value
c 3
b 1
f 0
dl 0
loc 16
wmc 1
lcom 0
cbo 2
ccs 0
cts 4
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
/**
3
 * @author Stefano Torresi (http://stefanotorresi.it)
4
 * @license See the file LICENSE.txt for copying permission.
5
 * ************************************************
6
 */
7
8
namespace Thorr\OAuth2\Entity;
9
10
class AuthorizationCode extends AbstractToken
11
{
12
    use RedirectUriProviderTrait;
13
14
    /**
15
     * {@inheritdoc}
16
     *
17
     * @param string $redirectUri
18
     */
19
    public function __construct($uuid = null, $token, Client $client, UserInterface $user = null, $scopes = null, $redirectUri)
20
    {
21
        parent::__construct($uuid, $token, $client, $user, $scopes);
22
23
        $this->setRedirectUri($redirectUri);
24
    }
25
}
26